Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Use action's github token
Browse files Browse the repository at this point in the history
  • Loading branch information
p1gp1g committed Dec 8, 2022
1 parent fcfac64 commit 891e9bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ jobs:
if: "!contains(github.ref_name, 'alpha') && !contains(github.ref_name, 'beta')"
run: gh release create -d -t "Molly $GITHUB_REF_NAME" "$GITHUB_REF_NAME"
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create beta release draft
if: "contains(github.ref_name, 'beta')"
run: gh release create -d -p -t "Molly $GITHUB_REF_NAME" "$GITHUB_REF_NAME"
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Generate alpha release notes
if: "contains(github.ref_name, 'alpha')"
Expand All @@ -113,4 +113,4 @@ jobs:
if: "contains(github.ref_name, 'alpha')"
run: gh release create -p -t "Molly Insider $GITHUB_REF_NAME" -F release-notes.md "$GITHUB_REF_NAME" ./build/*/release/*.apk
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 891e9bb

Please sign in to comment.