Skip to content

Commit

Permalink
Update HelloFresh Organization Required Workflows [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-ghactions-bot committed Jul 17, 2023
1 parent 33d7a3a commit 2c5c107
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/hf_validate-tribe-squad-labels.yaml
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 }}

0 comments on commit 2c5c107

Please sign in to comment.