Rollup merge of #82543 - klensy:skip-jobs, r=Mark-Simulacrum

fix env var name in CI

There no `SKIP_JOBS` env var name, only `SKIP_JOB`.
This commit is contained in:
Yuki Okushi 2021-03-01 15:07:36 +09:00 committed by GitHub
commit b8150e7a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ jobs:
run: "echo \"[CI_PR_NUMBER=$num]\"" run: "echo \"[CI_PR_NUMBER=$num]\""
env: env:
num: "${{ github.event.number }}" num: "${{ github.event.number }}"
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
- name: add extra environment variables - name: add extra environment variables
run: src/ci/scripts/setup-environment.sh run: src/ci/scripts/setup-environment.sh
env: env:
@ -425,7 +425,7 @@ jobs:
run: "echo \"[CI_PR_NUMBER=$num]\"" run: "echo \"[CI_PR_NUMBER=$num]\""
env: env:
num: "${{ github.event.number }}" num: "${{ github.event.number }}"
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
- name: add extra environment variables - name: add extra environment variables
run: src/ci/scripts/setup-environment.sh run: src/ci/scripts/setup-environment.sh
env: env:
@ -532,7 +532,7 @@ jobs:
run: "echo \"[CI_PR_NUMBER=$num]\"" run: "echo \"[CI_PR_NUMBER=$num]\""
env: env:
num: "${{ github.event.number }}" num: "${{ github.event.number }}"
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
- name: add extra environment variables - name: add extra environment variables
run: src/ci/scripts/setup-environment.sh run: src/ci/scripts/setup-environment.sh
env: env:

View File

@ -110,7 +110,7 @@ x--expand-yaml-anchors--remove:
run: echo "[CI_PR_NUMBER=$num]" run: echo "[CI_PR_NUMBER=$num]"
env: env:
num: ${{ github.event.number }} num: ${{ github.event.number }}
if: success() && !env.SKIP_JOBS && github.event_name == 'pull_request' if: success() && !env.SKIP_JOB && github.event_name == 'pull_request'
- name: add extra environment variables - name: add extra environment variables
run: src/ci/scripts/setup-environment.sh run: src/ci/scripts/setup-environment.sh