Skip to content

Tweak Trigger: labels #42452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'

# Unito - notion.so/52d10dbfad474328850319e48b057a5b
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/getsentry-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/getsentry-dispatch-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down