Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 5ded032

Browse files
authored
MOD: peter-evans/create-pull-request@v2 => v4
1 parent 4b3a19d commit 5ded032

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
auto-update:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v3
1010
- name: Set up Python
1111
uses: actions/setup-python@v2
1212
with:
@@ -16,7 +16,8 @@ jobs:
1616
- name: Run pre-commit autoupdate
1717
run: pre-commit autoupdate
1818
- name: Create Pull Request
19-
uses: peter-evans/create-pull-request@v2
19+
id: cpr
20+
uses: peter-evans/create-pull-request@v4
2021
with:
2122
token: ${{ secrets.CPR_GITHUB_TOKEN }}
2223
branch: update/pre-commit-autoupdate
@@ -26,3 +27,8 @@ jobs:
2627
Update versions of tools in pre-commit
2728
configs to latest version
2829
labels: dependencies
30+
- name: Check outputs
31+
if: ${{ steps.cpr.outputs.pull-request-number }}
32+
run: |
33+
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
34+
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"

0 commit comments

Comments
 (0)