File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,28 @@ jobs:
1313 contents : write
1414
1515 steps :
16+ - name : Download branch name artifact
17+ uses : actions/download-artifact@v3
18+ with :
19+ name : branch-name
20+
21+ - name : Load branch name
22+ run : |
23+ source $(cat branch-name | grep BRANCH_NAME | cut -d= -f2)
24+
1625 - name : Checkout repository
1726 uses : actions/checkout@v3
1827 with :
1928 ref : gh-pages
2029 fetch-depth : 0
2130
22- - name : Verify git repository state
23- run : |
24- git status
25- git branch
26-
2731 - name : Create Pull Request
2832 if : ${{ github.event.workflow_run.conclusion == 'success' }}
2933 uses : peter-evans/create-pull-request@v5
3034 with :
3135 token : ${{ secrets.GITHUB_TOKEN }}
3236 base : gh-pages
33- branch : ${{ format('update-badges-{0}', github.event.workflow_run.run_id) }}
37+ branch : ${{ env.BRANCH_NAME }}
3438 title : " Update badges.json"
3539 body : |
3640 This pull request updates `badges.json` with the latest release URLs.
You can’t perform that action at this time.
0 commit comments