Skip to content

Commit 5462606

Browse files
authored
feat: add new ai-labeler workflow (#653)
The new workflow will add labels to PRs assisted or generated by ai. Signed-off-by: David Moreno García <damoreno@redhat.com>
1 parent ef0fabe commit 5462606

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: PR AI Labeler
3+
4+
on:
5+
pull_request_target:
6+
types: [opened, synchronize]
7+
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
12+
jobs:
13+
label-pr:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Label PR using shared action
17+
uses: konflux-ci/release-service-automations/pr-ai-labeler@26b8ead8ea7af6dabb73ba72b238b7757ccddb56 # main
18+
with:
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
20+
pr-number: ${{ github.event.pull_request.number }}
21+
repository: ${{ github.repository }}

0 commit comments

Comments
 (0)