mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
chore: adding ghtoken to the flows that need it
This commit is contained in:
parent
a80baf9c14
commit
d47bbf315f
1 changed files with 2 additions and 0 deletions
2
.github/workflows/tag-and-publish.yml
vendored
2
.github/workflows/tag-and-publish.yml
vendored
|
|
@ -73,6 +73,7 @@ jobs:
|
|||
if: steps.check-tag.outputs.EXISTS == 'false'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
# Create and push tag
|
||||
git config user.name "GitHub Actions"
|
||||
|
|
@ -90,6 +91,7 @@ jobs:
|
|||
if: steps.check-tag.outputs.EXISTS == 'false' && success()
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
# Get release URL using gh cli
|
||||
RELEASE_URL=$(gh release view "${{ steps.package-version.outputs.VERSION }}" --json url -q .url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue