Skip to content

Commit

Permalink
(TEST) Add the ability to run continuous-only tests with a tag
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 676568698
  • Loading branch information
mkruskal-google authored and copybara-github committed Sep 19, 2024
1 parent 7a7a087 commit 4b410a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
- name: Set Test Type Variables
id: set-test-type-vars
run: |
if [ "${{ github.event_name }}" == 'pull_request' ] || [ "${{ github.event_name }}" == 'pull_request_target' ]; then
if ([ "${{ github.event_name }}" == 'pull_request' ] || [ "${{ github.event_name }}" == 'pull_request_target' ]) && ${{ !contains(toJson(github.event.pull_request.body), '\r\n#test-continuous') }}; then
echo "continuous-run=" >> "$GITHUB_OUTPUT"
echo "continuous-prefix=[SKIPPED] (Continuous)" >> "$GITHUB_OUTPUT"
else
Expand Down

0 comments on commit 4b410a3

Please sign in to comment.