File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1010env :
1111 REGISTRY : docker.io
1212 IMAGE_NAME : spyduck/cluster-api-provider-proxmox
13+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1314
1415jobs :
1516 # add public code coverage reports
3940
4041 # platform = linux/amd64,linux/arm64
4142 - name : Build and push Docker image
42- run : " make docker-buildx IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_SHA::7}"
43+ run : " make docker-buildx IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_SHA::7}"
44+
45+ # report result to pr comment if event is pr comment
46+ result :
47+ name : report to pr comment
48+ runs-on : ubunt-latest
49+ if : github.event_name == "issue_comment" && ${{ github.event.issue.pull_request }}
50+ steps :
51+ - run : |
52+ gh pr comment ${{ github.event.issue.number }} -b "[Actions: CI] Check result [here](https://github.com/sp-yduck/cluster-api-provider-proxmox/actions/runs/${{ github.run_number }})"
You can’t perform that action at this time.
0 commit comments