Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getsentry/github-workflows
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: getsentry/github-workflows
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/validate-pr-action
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 6 files changed
  • 2 contributors

Commits on Mar 27, 2026

  1. feat: Add validate-pr composite action

    Add a composite action that validates non-maintainer PRs against
    contribution guidelines. Checks that PRs reference a GitHub issue with
    prior maintainer discussion, and enforces draft status on all new PRs.
    
    Extracts the validation logic into standalone JS scripts for
    testability, matching the pattern used by the danger action.
    
    Previously this workflow was being copy-pasted across SDK repos
    (327 lines each). Now each repo only needs a ~15-line caller workflow.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    stephanie-anderson and claude committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    5793957 View commit details
    Browse the repository at this point in the history
  2. docs: Add changelog entry for validate-pr action

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    stephanie-anderson and claude committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    25cf77f View commit details
    Browse the repository at this point in the history
  3. fix: Address review feedback on validate-pr action

    - Paginate comment listing in enforce-draft.js to handle PRs with 30+
      comments
    - Add null check on comment user property for deleted/suspended accounts
    - Fix README to clarify maintainers are only exempt from issue validation,
      not draft enforcement
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    stephanie-anderson and claude committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    8cc50d0 View commit details
    Browse the repository at this point in the history
Loading