Skip to content

Commit 5187645

Browse files
Update HelloFresh Organization Required Workflows [ci skip]
1 parent e65993e commit 5187645

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 }}

0 commit comments

Comments
 (0)