提交 7584614e authored 作者: Luciano Paz's avatar Luciano Paz

Always run checks on pushes to main

上级 162cbfc5
...@@ -41,10 +41,11 @@ jobs: ...@@ -41,10 +41,11 @@ jobs:
id: set_should_run id: set_should_run
run: | run: |
if [[ "${{ github.event_name == 'release' || if [[ "${{ github.event_name == 'release' ||
(
github.ref == 'refs/heads/main' || github.ref == 'refs/heads/main' ||
(
github.event_name == 'pull_request' github.event_name == 'pull_request'
) && steps.filter.outputs.any_changed == 'true' && steps.filter.outputs.any_changed == 'true'
)
}}" == "true" ]]; then }}" == "true" ]]; then
echo "should_run=true" >> $GITHUB_OUTPUT echo "should_run=true" >> $GITHUB_OUTPUT
else else
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论