|
63 | 63 | with: |
64 | 64 | github_token: "${{ secrets.github_token }}" |
65 | 65 | if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'" |
| 66 | + - name: configure the PR in which the error message will be posted |
| 67 | + run: "echo \"[CI_PR_NUMBER=$num]\"" |
| 68 | + env: |
| 69 | + num: "${{ github.event.number }}" |
| 70 | + if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" |
66 | 71 | - name: add extra environment variables |
67 | 72 | run: src/ci/scripts/setup-environment.sh |
68 | 73 | env: |
@@ -162,6 +167,11 @@ jobs: |
162 | 167 | with: |
163 | 168 | github_token: "${{ secrets.github_token }}" |
164 | 169 | if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'" |
| 170 | + - name: configure the PR in which the error message will be posted |
| 171 | + run: "echo \"[CI_PR_NUMBER=$num]\"" |
| 172 | + env: |
| 173 | + num: "${{ github.event.number }}" |
| 174 | + if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" |
165 | 175 | - name: add extra environment variables |
166 | 176 | run: src/ci/scripts/setup-environment.sh |
167 | 177 | env: |
@@ -473,6 +483,11 @@ jobs: |
473 | 483 | with: |
474 | 484 | github_token: "${{ secrets.github_token }}" |
475 | 485 | if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'" |
| 486 | + - name: configure the PR in which the error message will be posted |
| 487 | + run: "echo \"[CI_PR_NUMBER=$num]\"" |
| 488 | + env: |
| 489 | + num: "${{ github.event.number }}" |
| 490 | + if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" |
476 | 491 | - name: add extra environment variables |
477 | 492 | run: src/ci/scripts/setup-environment.sh |
478 | 493 | env: |
@@ -598,6 +613,11 @@ jobs: |
598 | 613 | with: |
599 | 614 | github_token: "${{ secrets.github_token }}" |
600 | 615 | if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'" |
| 616 | + - name: configure the PR in which the error message will be posted |
| 617 | + run: "echo \"[CI_PR_NUMBER=$num]\"" |
| 618 | + env: |
| 619 | + num: "${{ github.event.number }}" |
| 620 | + if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" |
601 | 621 | - name: add extra environment variables |
602 | 622 | run: src/ci/scripts/setup-environment.sh |
603 | 623 | env: |
|
0 commit comments