Skip to content

Commit

Permalink
ci: attempt to fix the go-semantic-release step with DEPENDATPOT_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Strobotti committed Feb 26, 2024
1 parent f8d00c6 commit 9e1b2fe
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions: write-all
permissions:
contents: write
pages: write

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install Go
uses: actions/setup-go@v5
Expand All @@ -28,6 +32,7 @@ jobs:
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false

- name: Run Tests
run: task test
Expand All @@ -39,7 +44,7 @@ jobs:
with:
hooks: goreleaser
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}

- name: Make Coverage Badge
uses: action-badges/[email protected]
Expand Down

0 comments on commit 9e1b2fe

Please sign in to comment.