File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 2525 steps :
2626 - name : allowed message
2727 run : echo "Allowed to run"
28- - name : check Github action bot comment
29- if : github.event_name == 'pull_request'
30- uses : peter-evans/find-comment@v3
31- id : find-bot-comment
32- with :
33- issue-number : ${{ github.event.pull_request.number }}
34- comment-author : github-actions[bot]
35- body-includes : ' https://app.codecov.io/github/mongodb/mongodb-atlas-kubernetes/commit'
36- - name : edit comment if exists
37- if : github.event_name == 'pull_request' && steps.find-bot-comment.outputs.comment-id != ''
38- uses : peter-evans/create-or-update-comment@v4
39- with :
40- edit-mode : replace
41- comment-id : ${{ steps.find-bot-comment.outputs.comment-id }}
42- body : https://app.codecov.io/github/mongodb/mongodb-atlas-kubernetes/commit/${{ github.event.pull_request.head.sha }}
43- - name : comment PR
44- if : github.event_name == 'pull_request' && steps.find-bot-comment.outputs.comment-id == ''
45- env :
46- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47- run : |
48- gh pr comment ${{ github.event.pull_request.number }} -R mongodb/mongodb-atlas-kubernetes -b "https://app.codecov.io/github/mongodb/mongodb-atlas-kubernetes/commit/${{ github.event.pull_request.head.sha }}"
4928
5029 int-tests :
5130 needs : allowed
You can’t perform that action at this time.
0 commit comments