ci: Skip frontend tests for Dependabot PRs
parent
43aa1e4aeb
commit
c568bb1baa
|
@ -14,6 +14,17 @@ jobs:
|
||||||
node: [12, 14, 16]
|
node: [12, 14, 16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
-
|
||||||
|
name: Fail if Dependabot
|
||||||
|
if: github.actor == 'dependabot[bot]'
|
||||||
|
run: |
|
||||||
|
cat <<EOF >&2
|
||||||
|
Frontend tests skipped because Dependabot can't access secrets.
|
||||||
|
Manually re-run the jobs to run the frontend tests.
|
||||||
|
For more information, see:
|
||||||
|
https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
-
|
-
|
||||||
name: Generate Sauce Labs strings
|
name: Generate Sauce Labs strings
|
||||||
id: sauce_strings
|
id: sauce_strings
|
||||||
|
|
|
@ -8,6 +8,17 @@ jobs:
|
||||||
name: without plugins
|
name: without plugins
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
-
|
||||||
|
name: Fail if Dependabot
|
||||||
|
if: github.actor == 'dependabot[bot]'
|
||||||
|
run: |
|
||||||
|
cat <<EOF >&2
|
||||||
|
Frontend tests skipped because Dependabot can't access secrets.
|
||||||
|
Manually re-run the jobs to run the frontend tests.
|
||||||
|
For more information, see:
|
||||||
|
https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
-
|
-
|
||||||
name: Generate Sauce Labs strings
|
name: Generate Sauce Labs strings
|
||||||
id: sauce_strings
|
id: sauce_strings
|
||||||
|
@ -61,6 +72,17 @@ jobs:
|
||||||
name: with plugins
|
name: with plugins
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
-
|
||||||
|
name: Fail if Dependabot
|
||||||
|
if: github.actor == 'dependabot[bot]'
|
||||||
|
run: |
|
||||||
|
cat <<EOF >&2
|
||||||
|
Frontend tests skipped because Dependabot can't access secrets.
|
||||||
|
Manually re-run the jobs to run the frontend tests.
|
||||||
|
For more information, see:
|
||||||
|
https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
-
|
-
|
||||||
name: Generate Sauce Labs strings
|
name: Generate Sauce Labs strings
|
||||||
id: sauce_strings
|
id: sauce_strings
|
||||||
|
|
|
@ -9,6 +9,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
-
|
||||||
|
name: Fail if Dependabot
|
||||||
|
if: github.actor == 'dependabot[bot]'
|
||||||
|
run: |
|
||||||
|
cat <<EOF >&2
|
||||||
|
Frontend tests skipped because Dependabot can't access secrets.
|
||||||
|
Manually re-run the jobs to run the frontend tests.
|
||||||
|
For more information, see:
|
||||||
|
https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
-
|
-
|
||||||
name: Generate Sauce Labs strings
|
name: Generate Sauce Labs strings
|
||||||
id: sauce_strings
|
id: sauce_strings
|
||||||
|
|
Loading…
Reference in New Issue