forked from nearform/fastify-jwt-jwks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update notify-release action permissions (#283)
- Loading branch information
1 parent
4b03c7e
commit 37c2baf
Showing
1 changed file
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
name: notify-release | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '30 8 * * *' | ||
name: notify-release | ||
'on': | ||
workflow_dispatch: | ||
schedule: | ||
- cron: 30 8 * * * | ||
release: | ||
types: [published] | ||
types: | ||
- published | ||
issues: | ||
types: [closed] | ||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
types: | ||
- closed | ||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Notify release | ||
uses: nearform-actions/github-action-notify-release@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
contents: read | ||
steps: | ||
- name: Notify release | ||
uses: nearform-actions/github-action-notify-release@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |