File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3333 # For commit-based tests, simply run the bazel query to make sure it works. This should be
3434 # identical to the step below, except for the xargs piece that runs bazel test.
3535 - name : Check that staleness tests are queryable
36- if : ${{ github.event_name != 'schedule' && github.event_name != 'workflow_call' }}
36+ if : ${{ github.event_name == 'pull_request_target' || github.event_name == 'pull_request' || github.event_name == 'push' }}
3737 uses : protocolbuffers/protobuf-ci/bazel-docker@v1
3838 with :
3939 image : us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.0.0-6361b3a6e5c97e9951d03a4de28542fc45f1adab
4242 bash : bazel query 'attr(tags, "staleness_test", //...)'
4343
4444 - name : Run all staleness tests
45- if : ${{ github.event_name = = 'schedule' || github.event_name == 'workflow_call ' }}
45+ if : ${{ github.event_name != 'pull_request_target' && github.event_name ! = 'pull_request' && github.event_name != 'push ' }}
4646 uses : protocolbuffers/protobuf-ci/bazel-docker@v1
4747 with :
4848 credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
You can’t perform that action at this time.
0 commit comments