Skip to content

feat(changelog): add changelog #7

feat(changelog): add changelog

feat(changelog): add changelog #7

Workflow file for this run

name: Fragments check
on:
pull_request:
types: [labeled, unlabeled, opened, reopened, synchronize]
branches:
- main
jobs:
check-fragment-added:
if: github.event.pull_request.user.type != 'Bot' && !contains(github.event.pull_request.labels.*.name, 'skip-fragment-check')
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Check if linked to the correct pull request
run: |
git remote -v
git branch -r
diff=$(git diff origin/${{ github.base_ref }} HEAD --name-only)
changelog_fragments=$(echo "$diff" | grep "^.changes/unreleased/")
echo $changelog_fragments