Skip to content

ci: skip ci-package-manager job on release PR#369

Open
snitin315 wants to merge 1 commit intomainfrom
skip-ci-package-manager
Open

ci: skip ci-package-manager job on release PR#369
snitin315 wants to merge 1 commit intomainfrom
skip-ci-package-manager

Conversation

@snitin315
Copy link
Contributor

Prerequisites checklist

What is the purpose of this pull request?

Fix #366

What changes did you make? (Give an overview)

I feel it's better to just skip the workflow than add complicated workarounds.

Related Issues

Fix #366

Is there anything you'd like reviewers to focus on?

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 14, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: snitin315 / name: Nitin Kumar (f8bc2eb)

@snitin315 snitin315 force-pushed the skip-ci-package-manager branch from f9116da to f8bc2eb Compare February 14, 2026 11:18
# Skip on Release Please PRs
# https://github.com/eslint/rewrite/issues/366
if: >-
!(github.event_name == 'pull_request' && contains(github.event.pull_request.title, 'chore: release'))
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
!(github.event_name == 'pull_request' && contains(github.event.pull_request.title, 'chore: release'))
!(github.event_name == 'pull_request' && github.event.pull_request.user.login == 'eslintbot' && contains(github.event.pull_request.title, 'chore: release'))

I think it would be helpful to add an extra check to verify whether the PR author is eslintbot. This would help avoid cases where a PR title contains chore: release but the author is someone else.

Also, based on the description in #366, it seems this workflow need to be prevented from running on the main branch for release-please commits.

@lumirlumir lumirlumir moved this from Needs Triage to Triaging in Triage Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Triaging

Development

Successfully merging this pull request may close these issues.

Bug: ci-package-manager workflow is failing on Release Please PRs

2 participants