]> git.madduck.net Git - etc/vim.git/blob - .github/workflows/changelog.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Update FAQ: Mention formatting of custom jupyter cell magic (#2982)
[etc/vim.git] / .github / workflows / changelog.yml
1 name: changelog
2
3 on:
4   pull_request:
5     types: [opened, synchronize, labeled, unlabeled, reopened]
6
7 jobs:
8   build:
9     name: Changelog Entry Check
10
11     runs-on: ubuntu-latest
12
13     steps:
14       - uses: actions/checkout@v3
15
16       - name: Grep CHANGES.md for PR number
17         if: contains(github.event.pull_request.labels.*.name, 'skip news') != true
18         run: |
19           grep -Pz "\((\n\s*)?#${{ github.event.pull_request.number }}(\n\s*)?\)" CHANGES.md || \
20           (echo "Please add '(#${{ github.event.pull_request.number }})' change line to CHANGES.md (or if appropriate, ask a maintainer to add the 'skip news' label)" && \
21           exit 1)