chore(deps): bump pyright from 1.1.390 to 1.1.391 #115
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: Fragment Check | |
on: [pull_request] | |
jobs: | |
fragment-check: | |
name: Fragment check | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check changelog fragment exists | |
run: | | |
PR_NUMBER=${{ github.event.number }} | |
if [ -n "$(compgen -G "fragments/${PR_NUMBER}.*.md")" ]; then | |
echo "Fragment exists" | |
exit 0 | |
fi | |
echo "Fragment does not exist" | |
exit 1 |