Skip to content

ci: run build-lint-test workflow on pull_request events#814

Merged
the-chris-mitchell merged 1 commit into
masterfrom
ci/trigger-workflow-on-pull-request
Jul 7, 2026
Merged

ci: run build-lint-test workflow on pull_request events#814
the-chris-mitchell merged 1 commit into
masterfrom
ci/trigger-workflow-on-pull-request

Conversation

@the-chris-mitchell

Copy link
Copy Markdown
Contributor

The workflow only triggered on push, so it never ran on PRs from forks (checks showed "no checks reported" on PR #807). The checkout step also pinned repository: XeroAPI/xero-node with no ref, which would have checked out master instead of the PR head once triggered. Also bumps node-version to 24 to match the recently updated publish workflow.

The workflow only triggered on push, so it never ran on PRs from
forks (checks showed "no checks reported" on PR #807). The checkout
step also pinned repository: XeroAPI/xero-node with no ref, which
would have checked out master instead of the PR head once triggered.
Also bumps node-version to 24 to match the recently updated publish
workflow.

@ryanNexus ryanNexus left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥

@the-chris-mitchell the-chris-mitchell merged commit 41efdaf into master Jul 7, 2026
6 checks passed
@the-chris-mitchell the-chris-mitchell deleted the ci/trigger-workflow-on-pull-request branch July 7, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants