diff --git a/.github/workflows/notify-release.yml b/.github/workflows/notify-release.yml index 19f8437..8500aeb 100644 --- a/.github/workflows/notify-release.yml +++ b/.github/workflows/notify-release.yml @@ -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 }}