Deprecate 'keepends' argument in favor of 'drop' #2089
Workflow file for this run
This file contains 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: Changelog | |
on: | |
pull_request: | |
paths: | |
- pwnlib/** | |
- pwn/** | |
env: | |
GITHUB_BASE: origin/${{ github.event.pull_request.base.ref }} | |
jobs: | |
check: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check changelog for updates | |
run: | | |
if git log --stat ${GITHUB_BASE}..HEAD | grep CHANGELOG.md; then | |
echo 'Changelog updated :D' | |
else | |
if git log --stat ${GITHUB_BASE}..HEAD pwnlib pwn | grep '++\|--'; then | |
echo 'Major changes detected, changelog required!' | |
false | |
else | |
echo 'Minor changes detected, no changelog required!' | |
fi | |
fi |