Skip to content

Commit eec7f54

Browse files
authored
Update check-badges.yml
1 parent 3a589fb commit eec7f54

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

.github/workflows/check-badges.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ jobs:
99
check-badges:
1010
runs-on: ubuntu-22.04
1111

12-
outputs:
13-
branch_name: ${{ env.BRANCH_NAME }}
14-
1512
steps:
1613
- name: Checkout repository
1714
uses: actions/checkout@v3
@@ -58,7 +55,6 @@ jobs:
5855
5956
- name: Commit changes and create a new branch
6057
if: env.skip != 'true'
61-
id: commit_branch
6258
run: |
6359
git config --local user.name "GitHub Actions Bot"
6460
git config --local user.email "[email protected]"
@@ -69,20 +65,9 @@ jobs:
6965
git push origin HEAD
7066
echo "::notice::Changes committed and branch pushed."
7167
72-
create-pr:
73-
runs-on: ubuntu-22.04
74-
needs: check-badges
75-
if: needs.check-badges.outputs.branch_name != ''
76-
steps:
77-
- name: Create a pull request
78-
uses: peter-evans/create-pull-request@v5
68+
- name: Upload branch name artifact
69+
if: env.skip != 'true'
70+
uses: actions/upload-artifact@v3
7971
with:
80-
token: ${{ secrets.GITHUB_TOKEN }}
81-
base: gh-pages
82-
branch: ${{ needs.check-badges.outputs.branch_name }}
83-
title: Update badges.json
84-
body: |
85-
This pull request updates `badges.json` with the latest release URLs.
86-
Please review and merge if everything looks correct.
87-
labels: automated update
88-
assignees: Garlicrot
72+
name: branch-name
73+
path: $GITHUB_ENV

0 commit comments

Comments
 (0)