mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
chore(workflows): improve CI/CD workflow names
This commit is contained in:
parent
9556faabb9
commit
9dfb8634bc
3
.github/workflows/checks.yml
vendored
3
.github/workflows/checks.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Run All Checks
|
||||
name: Perform Checks on PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@ -130,4 +130,3 @@ jobs:
|
||||
args: release --snapshot --clean --skip=publish
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
29
.github/workflows/merge.yml
vendored
Normal file
29
.github/workflows/merge.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Bump Version on Merge
|
||||
on:
|
||||
pull_request:
|
||||
types: [closed]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
bump-version:
|
||||
if: github.event.pull_request.merged == true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ssh-key: "${{ secrets.COMMIT_KEY }}"
|
||||
|
||||
- name: Create bump and changelog
|
||||
uses: commitizen-tools/commitizen-action@master
|
||||
with:
|
||||
push: true
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: main
|
||||
- name: Push using ssh
|
||||
run: |
|
||||
git push origin main --tags
|
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Publish Versioned Assets
|
||||
name: Publish Assets on Release
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
@ -23,9 +23,9 @@ jobs:
|
||||
input: proto
|
||||
buf_token: ${{ secrets.BUF_TOKEN }}
|
||||
|
||||
publish-docs:
|
||||
docs-push:
|
||||
runs-on: ubuntu-latest
|
||||
name: Publish Docs
|
||||
name: Publish Docs to onsonr.dev
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Configure Git Credentials
|
||||
|
Loading…
x
Reference in New Issue
Block a user