Skip to content

Commit

Permalink
Merge pull request #11 from joelazar/bugfix/fix-token
Browse files Browse the repository at this point in the history
🐛 fix PAT token
  • Loading branch information
joelazar committed Jun 10, 2022
2 parents 9d0884a + 1421560 commit b62e53c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: |
echo "::set-output name=DRAFT_RELEASE::$(gh release list -L 1 -R $GITHUB_REPOSITORY | grep Draft)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}

- uses: release-drafter/release-drafter@v5
if: ${{ github.ref == 'refs/heads/main' && steps.get_latest_draft_release.outputs.DRAFT_RELEASE }}
Expand All @@ -24,4 +24,4 @@ jobs:
disable-autolabeler: false
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
5 changes: 1 addition & 4 deletions .github/workflows/release_slack_notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: Release slack notification

on:
release:
types:
- created
- published
- released
types: [published]

jobs:
slackNotification:
Expand Down
File renamed without changes.

0 comments on commit b62e53c

Please sign in to comment.