Add paste-to-markdown extension #35031
Workflow file for this run
This file contains hidden or 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 Enforcer" | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | |
paths: | |
- "extensions/**" | |
branches: [main, master] | |
jobs: | |
changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Changelog enforce | |
id: enforce | |
uses: raycast/github-actions/changelog-enforcer@master | |
continue-on-error: true | |
- name: Prompt Claude for missing changelog | |
if: steps.enforce.outcome == 'failure' | |
uses: actions/github-script@v7 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
const body = "@claude Please add a CHANGELOG.md entry for this pull request."; | |
await github.rest.issues.createComment({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
body, | |
}); | |
- name: Fail if changelog missing | |
if: steps.enforce.outcome == 'failure' | |
run: exit 1 |