File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: PostBenchmarks
22on :
33 workflow_run :
44 workflows : [RunUploadBenchmarks]
5- # types: [completed]
6- # branches: [master, benchx ]
5+ types : [completed]
6+ branches : [master]
77jobs :
88 on-success :
99 runs-on : ubuntu-latest
@@ -52,12 +52,14 @@ jobs:
5252 issue_number: issue_number,
5353 body: 'Thank you for the PR!'
5454 });
55+ - name : ` Read PR number`
56+ run : echo "{MY_PR_NUMBER}=$(cat .benchmarkci/pr_number)" >> $GITHUB_ENV
5557 - name : ' Comment on PR test 3'
56- run : gh pr comment "$NUMBER " --body "$BODY"
58+ run : gh pr comment "$MY_PR_NUMBER " --body "$BODY"
5759 env :
5860 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5961 GH_REPO : ${{ github.repository }}
60- NUMBER : ${{ github.event.pull_request.number }}
62+ # NUMBER: ${{ github.event.pull_request.number }}
6163 BODY : >
6264 This pr comment is testing.
6365 **This should be bold**
You can’t perform that action at this time.
0 commit comments