Prefix `safe for test` tag to keep it first

PiperOrigin-RevId: 507691300
pull/11831/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent 05f15196c2
commit 31c57d4868
  1. 2
      .github/workflows/test_runner.yml

@ -74,7 +74,7 @@ jobs:
# Trivially pass for safe PRs, and explicitly error for unsafe ones
# unless this is specifically an event for adding the safe label.
run: >
${{ github.event_name != 'pull_request_target' || github.event.label.name == 'safe for tests' }} ||
${{ github.event_name != 'pull_request_target' || github.event.label.name == ':a: safe for tests' }} ||
(echo "This pull request is from an unsafe fork and hasn't been approved to run tests!" && exit 1)
- name: Cache safe commit

Loading…
Cancel
Save