Skip to content

Commit 7584614

Browse files
lucianopazmaresb
andcommitted
Always run checks on pushes to main
Co-authored-by: Ben Mares <[email protected]>
1 parent 162cbfc commit 7584614

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pypi.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ jobs:
4141
id: set_should_run
4242
run: |
4343
if [[ "${{ github.event_name == 'release' ||
44+
github.ref == 'refs/heads/main' ||
4445
(
45-
github.ref == 'refs/heads/main' ||
46-
github.event_name == 'pull_request'
47-
) && steps.filter.outputs.any_changed == 'true'
46+
github.event_name == 'pull_request'
47+
&& steps.filter.outputs.any_changed == 'true'
48+
)
4849
}}" == "true" ]]; then
4950
echo "should_run=true" >> $GITHUB_OUTPUT
5051
else

0 commit comments

Comments
 (0)