Skip to content
Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ name: Lint
on:
push:
branches: [develop]
pull_request_target:
branches: [test/lint-gate-base]
pull_request: # TEST ONLY (throwaway branch): pull_request reads the
# workflow from the PR head, so it actually fires pre-merge
workflow_dispatch:

# One lint run per branch / PR; newer pushes cancel older in-flight runs.
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
const report = passed ? '' : fs.readFileSync('report.md', 'utf8');

// ---- PR: speak on the PR itself (comment, auto-updating) ----------
if (context.eventName === 'pull_request_target') {
if (context.eventName === 'pull_request_target' || context.eventName === 'pull_request') {
const pr = context.payload.pull_request;
const author = pr.user.login;
const MARKER = '<!-- ruff-lint-gate -->';
Expand Down
Loading