File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,19 @@ jobs:
2929 team_name="${team_label:6}" # Strip the first 6 chars, which is the 'Team: ' part
3030 team_slug="${team_name// /-}" # Replace spaces with hyphens for url/slug friendliness
3131 mention_slug=$(gh api "/orgs/getsentry/teams/$team_slug" -q .slug || true)
32+ if [ "${mention_slug::1}" = "{" ]; then
33+ # Hack around https://github.com/getsentry/.github/issues/77
34+ mention_slug=""
35+ fi
3236
3337 if [[ -z "$mention_slug" ]]; then
3438 echo "Couldn't find team mention from slug, trying the label description"
3539 team_slug=$(gh api "/repos/$GH_REPO/labels/$team_label" -q '.description')
3640 mention_slug=$(gh api "/orgs/getsentry/teams/$team_slug" -q .slug || true)
41+ if [ "${mention_slug::1}" = "{" ]; then
42+ # Hack around https://github.com/getsentry/.github/issues/77
43+ mention_slug=""
44+ fi
3745 fi
3846
3947 if [[ -n "$mention_slug" ]]; then
You can’t perform that action at this time.
0 commit comments