File tree Expand file tree Collapse file tree 1 file changed +5
-20
lines changed
Expand file tree Collapse file tree 1 file changed +5
-20
lines changed Original file line number Diff line number Diff line change 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
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] " 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
You can’t perform that action at this time.
0 commit comments