File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 lfs : false
6666 timeout-minutes : 10
6767
68- # Run the makefile target for updating the contributors list:
68+ # Update the contributors list:
6969 - name : ' Update contributors list'
7070 id : update-contributors
7171 run : |
@@ -78,11 +78,11 @@ jobs:
7878 echo "changed=true" >> $GITHUB_OUTPUT
7979 fi
8080
81- # Create a pull request with the updated contributors list :
81+ # Create a pull request:
8282 - name : ' Create pull request'
83- id : cpr
84- uses : peter-evans/create-pull-request@v4
8583 if : steps.update-contributors.outputs.changed == 'true'
84+ uses : peter-evans/create-pull-request@v4
85+ id : cpr
8686 with :
8787 title : ' Update list of contributors'
8888 body : |
9999 stdlib-reviewers
100100 branch : update-contributors
101101 delete-branch : true
102+
103+ # Create a pull request summary:
104+ - name : ' Create summary'
105+ run : |
106+ echo "# :tada: Pull Request created! :tada:" >> $GITHUB_STEP_SUMMARY
107+ echo "" >> $GITHUB_STEP_SUMMARY
108+ echo "Pull request ${{ steps.cpr.outputs.pull-request-number }} was successfully ${{ steps.cpr.outputs.pull-request-operation }}."
109+ echo ":link: [${{ steps.cpr.outputs.pull-request-url }}](${{ steps.cpr.outputs.pull-request-url }})." >> $GITHUB_STEP_SUMMARY
110+ echo "Head SHA: [${{ steps.cpr.outputs.pull-request-head-sha }}](${{ steps.cpr.outputs.pull-request-url }}/commits/${{ steps.cpr.outputs.pull-request-head-sha }})." >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change 9898 run : |
9999 rm -rf .git/hooks
100100
101- # Create a pull request with the updated documentation :
101+ # Create a pull request:
102102 - name : ' Create pull request'
103103 id : cpr
104104 uses : peter-evans/create-pull-request@v4
You can’t perform that action at this time.
0 commit comments