Skip to content

Commit

Permalink
Merge pull request #303 from nearform/fix-notify-release-permissions
Browse files Browse the repository at this point in the history
ci: update notify-release action permissions
  • Loading branch information
simoneb committed Apr 11, 2023
2 parents 821f400 + 37367ae commit 0e4fb25
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/notify-release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +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
steps:
- name: Notify release
uses: nearform/github-action-notify-release@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
types:
- closed
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Notify release
uses: nearform-actions/github-action-notify-release@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
permissions:
issues: write
contents: read

0 comments on commit 0e4fb25

Please sign in to comment.