Skip to content

Commit

Permalink
build: fix semantic release permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
teodor-pripoae committed Dec 3, 2024
1 parent bd40b4a commit ade32ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
with:
node-version: "lts/*"
- name: Semantic Release
env:
GH_TOKEN: ${{ secrets.ACTIONS_GH_SECRET }}
GITHUB_TOKEN: ${{ secrets.ACTIONS_GH_SECRET }}
run: |
npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/exec @semantic-release/git
semantic-release
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Upload binary
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.BOT_GITHUB_TOKEN }}
repo_token: ${{ secrets.ACTIONS_GH_SECRET }}
file: ./bazel-bin/cmd/goipxeboot/goipxeboot_/goipxeboot
asset_name: goipxeboot-amd64
tag: ${{ github.ref }}
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Upload rpm
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.BOT_GITHUB_TOKEN }}
repo_token: ${{ secrets.ACTIONS_GH_SECRET }}
file: ./bazel-bin/rpm/goipxeboot-x86_64.rpm
asset_name: goipxeboot-${{ env.STRIPPED_VERSION }}-1.x86_64.rpm
tag: ${{ github.ref }}

0 comments on commit ade32ca

Please sign in to comment.