-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update HelloFresh Organization Required Workflows [ci skip]
- Loading branch information
1 parent
daed515
commit 4d51218
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This workflow is centrally managed in | ||
# https://github.com/hellofresh/github-automation/blob/master/modules/repository/required-workflows/validate-tribe-squad-labels.yaml | ||
--- | ||
name: "PR: Validate Tribe and Squad Labels" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
# Default triggers https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request | ||
- opened | ||
- reopened | ||
- synchronize | ||
# label changes should trigger the validation, too | ||
- labeled | ||
- unlabeled | ||
|
||
branches: | ||
- master | ||
|
||
jobs: | ||
validate: | ||
name: Validate | ||
runs-on: [ self-hosted, default ] | ||
timeout-minutes: 2 | ||
permissions: | ||
# Allow action to comment within the PR | ||
pull-requests: write | ||
steps: | ||
- name: Validate Labels | ||
uses: docker://489198589229.dkr.ecr.eu-west-1.amazonaws.com/action-validate-comply-labels:latest | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |