Skip to content

Commit 79d4a6a

Browse files
committed
Use peter-evans/create-pull-request
1 parent 37f04ec commit 79d4a6a

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/labels.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,24 @@ name: labels
22
on:
33
push:
44
branches:
5-
- labels-workflow
5+
- labels-workflow
66
workflow_dispatch:
77
jobs:
88
update:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
with:
13-
fetch-depth: 0
14-
- uses: actions/setup-python@v4
15-
with:
16-
python-version: '3.11'
17-
- run: python -m pip install requests
18-
- run: python labels/labels.py
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.11'
17+
- name: Install dependencies
18+
run: python -m pip install requests
19+
- name: Update labels
20+
run: python labels/labels.py
21+
- name: Create pull request
22+
uses: peter-evans/create-pull-request@v4
23+
with:
24+
title: "Update labels/"
25+
branch: actions/update-labels

0 commit comments

Comments
 (0)