Skip to content

Commit

Permalink
Label konflux PRs as dependency (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotak authored Feb 11, 2025
1 parent e76dc9d commit 071dfe9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Pull request labels
on:
pull_request_target:
types: [opened]

jobs:
pr-labels:
if: ${{ github.event.pull_request.user.login == 'red-hat-konflux' }}
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- run: gh pr edit "$NUMBER" --add-label "dependencies"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}

0 comments on commit 071dfe9

Please sign in to comment.