Skip to content

Commit

Permalink
feat: Add check-labels workflow (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz authored May 3, 2024
1 parent 6b2a870 commit e3a722f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Check labels

on:
workflow_call:

jobs:
main:
runs-on: ubuntu-latest
steps:
- run: gh pr view ${{ github.event.pull_request.number }} --json labels --repo ${{ github.repository }} | jq -e '.labels != []'
env:
GH_TOKEN: ${{ secrets.BOT_TOKEN_WORKFLOW }}

0 comments on commit e3a722f

Please sign in to comment.