Avoid unnecessary terraform plans for closed (unmerged) PRs (#2294)
* Avoid unnecessary terraform plans for closed (unmerged) PRs * fix: also update templates copied to avoid Windows symlink problems. --------- Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
parent
3368be51bd
commit
a04d63e991
|
@ -34,6 +34,12 @@ env:
|
|||
|
||||
jobs:
|
||||
fast-pr:
|
||||
# Skip PRs which are closed without being merged.
|
||||
if: >-
|
||||
github.event.action == 'closed' &&
|
||||
github.event.pull_request.merged == true ||
|
||||
github.event.action == 'opened' ||
|
||||
github.event.action == 'synchronize'
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
|
|
@ -34,6 +34,12 @@ env:
|
|||
|
||||
jobs:
|
||||
fast-pr:
|
||||
# Skip PRs which are closed without being merged.
|
||||
if: >-
|
||||
github.event.action == 'closed' &&
|
||||
github.event.pull_request.merged == true ||
|
||||
github.event.action == 'opened' ||
|
||||
github.event.action == 'synchronize'
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
|
|
@ -34,6 +34,12 @@ env:
|
|||
|
||||
jobs:
|
||||
fast-pr:
|
||||
# Skip PRs which are closed without being merged.
|
||||
if: >-
|
||||
github.event.action == 'closed' &&
|
||||
github.event.pull_request.merged == true ||
|
||||
github.event.action == 'opened' ||
|
||||
github.event.action == 'synchronize'
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
|
|
@ -34,6 +34,12 @@ env:
|
|||
|
||||
jobs:
|
||||
fast-pr:
|
||||
# Skip PRs which are closed without being merged.
|
||||
if: >-
|
||||
github.event.action == 'closed' &&
|
||||
github.event.pull_request.merged == true ||
|
||||
github.event.action == 'opened' ||
|
||||
github.event.action == 'synchronize'
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
|
Loading…
Reference in New Issue