Skip to content

Commit

Permalink
ci: update notify-release action permissions (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
MelkorNemesis authored Apr 11, 2023
1 parent 4b03c7e commit 37c2baf
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/notify-release.yml
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 }}

0 comments on commit 37c2baf

Please sign in to comment.