Skip to content

Commit

Permalink
Use GITHUB_TOKEN in secrets to push tag
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Dec 20, 2024
1 parent eed27d7 commit 6503a9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- ghc: "9.6.6"
os: macOS-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -138,6 +141,7 @@ jobs:
server: http://hackage.haskell.org
username: ${{ secrets.HACKAGE_USER }}
password: ${{ secrets.HACKAGE_PASS }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
package_version="$(cat *.cabal | grep '^version:' | cut -d : -f 2 | xargs)"
Expand Down

0 comments on commit 6503a9b

Please sign in to comment.