Update action.yml to run with prebuilt docker image for new version 0… #350
This file contains hidden or 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
| name: Release Notes | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - '**' | |
| paths-ignore: | |
| - .release-notes/next-release.md | |
| - .release-notes/\d+.\d+.\d+.md | |
| permissions: | |
| packages: read | |
| pull-requests: read | |
| contents: write | |
| jobs: | |
| release-notes: | |
| runs-on: ubuntu-latest | |
| name: Update release notes | |
| steps: | |
| - name: Update | |
| uses: docker://ghcr.io/ponylang/release-notes-bot-action:0.3.10 | |
| with: | |
| GIT_USER_NAME: "Ponylang Main Bot" | |
| GIT_USER_EMAIL: "ponylang.main@gmail.com" | |
| env: | |
| API_CREDENTIALS: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5 | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. |