Skip to content

Commit

Permalink
Create label_enforcement.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Aug 30, 2024
1 parent ac5ea85 commit 0ce0257
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/label_enforcement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Enforce Labels
on:
pull_request:
branches: [ "main" ]

env:
LABELS: ${{ toJSON(github.event.pull_request.labels.*.name) }}

jobs:
label_checker:
strategy:
fail-fast: false
name: Please include labels on your pull request
runs-on: ubuntu-latest
timeout-minutes: 120

steps:
- name: test
run: echo "${{ env.LABELS }}"

0 comments on commit 0ce0257

Please sign in to comment.