Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/pr-compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PR Compliance

on:
pull_request_target:
branches: ['main']
types: [opened, reopened, ready_for_review, synchronize]

jobs:
remind:
name: Changelog
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot' && github.actor != 'dependabot[bot]' && github.actor != 'github-actions' && github.actor != 'github-actions[bot]' && github.event.pull_request.draft == false }}
steps:
- uses: actions/checkout@v4
- name: Changelog Reminder
uses: peterjgrainger/action-changelog-reminder@v1.3.0
with:
changelog_regex: 'CHANGELOG.md'
customPrMessage: |
👋 Hey there! It looks like the changelog might need an update.

Please take a moment to edit the [`CHANGELOG.md`](/qBraid/pyqasm/blob/main/CHANGELOG.md) with:
- A brief, one-to-two sentence summary of your changes.
- A link back to this PR for reference.
- (Optional) A small working example if you've added new features.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Types of changes:

### Added
- A new discussion template for issues in pyqasm ([#213](https://github.com/qBraid/pyqasm/pull/213))
- A github workflow for validating `CHANGELOG` updates in a PR ([#214](https://github.com/qBraid/pyqasm/pull/214))

### Improved / Modified

Expand Down