Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove paths filter for lockfile workflow #937

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

gmaclennan
Copy link
Member

@gmaclennan gmaclennan commented Oct 23, 2024

The "Check Lockfile" workflow had a paths filter
in the trigger, to only run when package-lock.json
is modified. Unfortunately there is an edge-case,
where package-lock.json is modified, and the
lockfile changes check posts a comment, and then
the package-lock.json changes are reverted, but
the lockfile changes check does not run again,
because now the PR has no updates to
package-lock.json.

This workflow is very fast compared with the other
checks in the repo, so I think it's ok to run for
every PR sync event.

The "Check Lockfile" workflow had a paths filter
in the trigger, to only run when package-lock.json
is modified. Unfortunately there is an edge-case,
where package-lock.json is modified, and the
lockfile changes check posts a comment, and then
the package-lock.json changes are reverted, but
the lockfile changes check does not run again,
because now the PR has not updates to
`package-lock.json`.

This workflow is very fast compared with the other
checks in the repo, so I think it's ok to run for
every PR sync event.
@gmaclennan gmaclennan self-assigned this Oct 23, 2024
@gmaclennan gmaclennan merged commit 8b0bdb1 into main Oct 23, 2024
8 checks passed
@gmaclennan gmaclennan deleted the chore/lockfile-workflow-paths branch October 23, 2024 14:39
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