Skip to content

Commit

Permalink
Use peter-evans/create-pull-request
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed Feb 16, 2023
1 parent 37f04ec commit 79d4a6a
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@ name: labels
on:
push:
branches:
- labels-workflow
- labels-workflow
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: python -m pip install requests
- run: python labels/labels.py
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: python -m pip install requests
- name: Update labels
run: python labels/labels.py
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
title: "Update labels/"
branch: actions/update-labels

0 comments on commit 79d4a6a

Please sign in to comment.