|
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:
|
@@ -479,6 +489,11 @@ jobs:
|
479 | 489 | with:
|
480 | 490 | github_token: "${{ secrets.github_token }}"
|
481 | 491 | if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
|
| 492 | + - name: configure the PR in which the error message will be posted |
| 493 | + run: "echo \"[CI_PR_NUMBER=$num]\"" |
| 494 | + env: |
| 495 | + num: "${{ github.event.number }}" |
| 496 | + if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" |
482 | 497 | - name: add extra environment variables
|
483 | 498 | run: src/ci/scripts/setup-environment.sh
|
484 | 499 | env:
|
@@ -604,6 +619,11 @@ jobs:
|
604 | 619 | with:
|
605 | 620 | github_token: "${{ secrets.github_token }}"
|
606 | 621 | if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
|
| 622 | + - name: configure the PR in which the error message will be posted |
| 623 | + run: "echo \"[CI_PR_NUMBER=$num]\"" |
| 624 | + env: |
| 625 | + num: "${{ github.event.number }}" |
| 626 | + if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" |
607 | 627 | - name: add extra environment variables
|
608 | 628 | run: src/ci/scripts/setup-environment.sh
|
609 | 629 | env:
|
|
0 commit comments