Skip to content

Commit

Permalink
add step to check the PR URL is included in the CHANGELOG.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
ricomateo committed Jan 20, 2025
1 parent c37b853 commit 103c11c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

env:
PR_NUMBER: ${{ github.event.number }}
PR_URL: https://github.com/Layr-Labs/eigensdk-rs/pull/$PR_NUMBER

jobs:
# Enforces the update of a changelog file on every pull request
# We only want this for user-visible changes, so we add a few labels
Expand All @@ -14,3 +18,7 @@ jobs:
- uses: dangoslen/changelog-enforcer@v3
with:
skipLabels: pipelines,tests,documentation

- name: Enforce PR URL in CHANGELOG.md
- run: grep $PR_URL CHANGELOG.md

0 comments on commit 103c11c

Please sign in to comment.