Testing for curve25519-dalek's upstream-lizard branch #20
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: Check release notes | |
| # This is in a separate job because it only runs on pull requests and triggers | |
| # on label changes in addition to code changes. | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, labeled, unlabeled, converted_to_draft, ready_for_review] | |
| # all target branches | |
| env: | |
| LABEL_NAME: no release notes | |
| jobs: | |
| check: | |
| name: Check for release notes | |
| # Don't check draft PRs | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # Needed to read the list of files modified by the pull request. | |
| pull-requests: read | |
| steps: | |
| - name: Check for release notes change | |
| uses: brettcannon/check-for-changed-files@871d7b8b5917a4f6f06662e2262e8ffc51dff6d1 # v1.2.1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| skip-label: ${{ env.LABEL_NAME }} | |
| file-pattern: | | |
| RELEASE_NOTES.md | |
| failure-message: "RELEASE_NOTES.md is unchanged. If that's intentional, set the '${{ env.LABEL_NAME }}' tag" |