diff --git a/.github/labels.yml b/.github/labels.yml index 32ce0d7b76a82a..612239ebe1e12b 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -8,11 +8,12 @@ # Read more here: https://github.com/Financial-Times/github-label-sync#label-config-file # Getsentry workflow control -- name: trigger-getsentry-external - color: '3E5E06' +- name: 'Trigger: getsentry tests' + aliases: ['trigger-getsentry-external'] + color: 'A0CABD' description: 'once code is reviewed: apply label to PR to trigger getsentry tests' - name: 'Trigger: Revert' - color: '3E5E06' + color: 'A0CABD' description: 'add to a merged PR to revert it (skips CI)' - name: 'Trigger: Visual Snapshot' color: '3E5E06' diff --git a/.github/workflows/getsentry-dispatch.yml b/.github/workflows/getsentry-dispatch.yml index 50ce3c563dc2fa..c830deed45f2bf 100644 --- a/.github/workflows/getsentry-dispatch.yml +++ b/.github/workflows/getsentry-dispatch.yml @@ -19,7 +19,7 @@ permissions: jobs: dispatch: - if: github.event.action != 'labeled' || github.event.label.name == 'trigger-getsentry-external' + if: "github.event.action != 'labeled' || github.event.label.name == 'Trigger: getsentry tests'" name: getsentry dispatch runs-on: ubuntu-20.04 steps: diff --git a/.github/workflows/scripts/getsentry-dispatch-setup b/.github/workflows/scripts/getsentry-dispatch-setup index d6053e2f040751..2de9ab8353d0d1 100755 --- a/.github/workflows/scripts/getsentry-dispatch-setup +++ b/.github/workflows/scripts/getsentry-dispatch-setup @@ -4,7 +4,7 @@ import json import os import urllib.request -LABEL = "trigger-getsentry-external" +LABEL = "Trigger: getsentry tests" def _has_write(repo_id: int, username: str, *, token: str) -> bool: