chore: update workflows
This commit is contained in:
@@ -5,6 +5,7 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
actions: write
|
||||||
jobs:
|
jobs:
|
||||||
version:
|
version:
|
||||||
name: Bump version and tag
|
name: Bump version and tag
|
||||||
@@ -101,3 +102,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
git tag "v${new_version}"
|
git tag "v${new_version}"
|
||||||
git push origin main --tags
|
git push origin main --tags
|
||||||
|
- name: Trigger release workflow
|
||||||
|
if: steps.bump.outputs.skip != 'true'
|
||||||
|
run: gh workflow run release.yml --ref "v${{ steps.bump.outputs.version }}"
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user