[CI] allow user to specify cache path in reusable workflow #557
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: | |
types: [labeled, unlabeled, opened, synchronize, reopened] | |
branches: | |
- master | |
jobs: | |
changelog: | |
name: Confirm changelog entry | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Grep for PR number in CHANGES.rst | |
run: grep -P '\[[^\]]*#${{github.event.number}}[,\]]' CHANGES.rst | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }} |