File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow is centrally managed in
2+ # https://github.com/hellofresh/github-automation/blob/master/modules/repository/required-workflows/validate-tribe-squad-labels.yaml
3+ ---
4+ name : " PR: Validate Tribe and Squad Labels"
5+
6+ on :
7+ pull_request :
8+ types :
9+ # Default triggers https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
10+ - opened
11+ - reopened
12+ - synchronize
13+ # label changes should trigger the validation, too
14+ - labeled
15+ - unlabeled
16+
17+ branches :
18+ - master
19+
20+ jobs :
21+ validate :
22+ name : Validate
23+ runs-on : [ self-hosted, default ]
24+ timeout-minutes : 2
25+ permissions :
26+ # Allow action to comment within the PR
27+ pull-requests : write
28+ steps :
29+ - name : Validate Labels
30+ uses : docker://489198589229.dkr.ecr.eu-west-1.amazonaws.com/action-validate-comply-labels:latest
31+ env :
32+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments