forked from opendatahub-io/opendatahub-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (25 loc) · 800 Bytes
/
size-labeler.yml
File metadata and controls
31 lines (25 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: PR Size Labeler
on:
pull_request_target:
types: [opened, synchronize]
permissions:
pull-requests: write
contents: write
jobs:
add-pr-size-label:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{github.event.pull_request.number}}
cancel-in-progress: true
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Run size labeler
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUMBER: ${{github.event.pull_request.number}}
GITHUB_EVENT_ACTION: ${{github.event.action}}
GITHUB_EVENT_NAME: ${{github.event_name}}
ACTION: "add-pr-size-label"
run: uv run python .github/workflows/scripts/pr_workflow.py