File tree Expand file tree Collapse file tree 2 files changed +24
-307
lines changed
Expand file tree Collapse file tree 2 files changed +24
-307
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : " Pull Request Labeler"
22
33on :
4- pull_request :
4+ pull_request_target :
55 types :
66 - opened
77 - synchronize
@@ -10,11 +10,34 @@ jobs:
1010 labeler :
1111 permissions :
1212 contents : read
13+ issues : write
1314 pull-requests : write
1415 runs-on : ubuntu-latest
1516 steps :
1617 - uses : actions/checkout@v6
1718
19+ - name : Read repo config
20+ uses :
pietrobolcato/[email protected] 21+ id : repo-config
22+ with :
23+ config : repo-config.yml
24+
25+ - name : Set up Python
26+ uses : actions/setup-python@v5
27+ with :
28+ python-version : " ${{ steps.repo-config.outputs['python-version'] }}"
29+
30+ - name : Run Poetry Image
31+ uses : abatilo/actions-poetry@v3
32+ with :
33+ poetry-version : " ${{ steps.repo-config.outputs['poetry-version'] }}"
34+
35+ - name : Install Dependencies
36+ run : poetry install
37+
38+ - name : Create labels
39+ run : poetry run python scripts/set_up_labeler.py
40+
1841 - uses : actions/labeler@v6
1942 with :
2043 repo-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments