Skip to content

Always run PHP-based github workflows#2926

Closed
carterbuce wants to merge 2 commits intofacebook:mainfrom
carterbuce:fix-github-workflow-file-triggers
Closed

Always run PHP-based github workflows#2926
carterbuce wants to merge 2 commits intofacebook:mainfrom
carterbuce:fix-github-workflow-file-triggers

Conversation

@carterbuce
Copy link
Copy Markdown
Contributor

In PRs that don't modify any php files, the "Code sniff" and "PHP Unit Tests" checks get stuck in a pending state (ex. #2918). They do not run because the PR doesn't match any of the filters that the workflows define. This causes issues because our repository is set up to require all checks to pass before merging.

This PR updates the filtering on these workflows to run on every PR, regardless of what files were changed.

@carterbuce carterbuce added the changelog: none Skip changelog entry for this PR label Mar 6, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@carterbuce has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@carterbuce has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@carterbuce has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@carterbuce merged this pull request in 6d4d57e.

tzahgr pushed a commit that referenced this pull request Mar 17, 2025
Summary:
In PRs that don't modify any php files, the "Code sniff" and "PHP Unit Tests" checks get stuck in a pending state (ex. #2918). They do not run because the PR doesn't match any of the filters that the workflows define. This causes issues because our repository is set up to require all checks to pass before merging.

This PR updates the filtering on these workflows to run on every PR, regardless of what files were changed.

Pull Request resolved: #2926

Reviewed By: nrostrow-meta

Differential Revision: D70673188

Pulled By: carterbuce

fbshipit-source-id: e2fc616d497e21b9b4f993da365afcc4a0664b4f
@vahidkay-meta vahidkay-meta mentioned this pull request Mar 19, 2025
vahidkay-meta added a commit that referenced this pull request Mar 24, 2025
Add - Items batch request and response tests by @nrostrow-meta in #2917
Tweak - Always run PHP-based github workflows by @carterbuce in #2926
Fix - feed upload error "feed_column_count_mismatch" when product has multiple colors separated by a comma by @mshymon in #2947
Tweak - Updated Pull Request Template by @vinkmeta in #2948
Tweak - Enabled PHPUnit code coverage report generation by @carterbuce in #2893
Dev - Improved readability of function prepare_product() in fbproduct.php by @mshymon in #2889
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: none Skip changelog entry for this PR CLA Signed Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants