Skip to content

Commit

Permalink
Skip terratest for renovate PRs (#1321)
Browse files Browse the repository at this point in the history
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
  • Loading branch information
jkremser authored Nov 1, 2023
1 parent f3faefd commit a138deb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/terratest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
pull_request:
branches:
- master
# The specific activity types are listed here to include "labeled" and "unlabeled"
# (which are not included by default for the "pull_request" trigger).
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
paths-ignore:
- '**.md'
- '**.svg'
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
terratest:
runs-on: ubuntu-22.04
needs: skip-check
if: ${{ needs.skip-check.outputs.should_skip != 'true' }}
if: ${{ needs.skip-check.outputs.should_skip != 'true' }} && !contains( github.event.pull_request.labels.*.name, 'renovate')
steps:
- uses: actions/checkout@8530928916aaef40f59e6f221989ccb31f5759e7
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/upgrade-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
pull_request:
branches:
- master
# The specific activity types are listed here to include "labeled" and "unlabeled"
# (which are not included by default for the "pull_request" trigger).
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
paths-ignore:
- '**.md'
- '**.svg'
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
upgrade-testing:
runs-on: ubuntu-22.04
needs: skip-check
if: ${{ needs.skip-check.outputs.should_skip != 'true' }}
if: ${{ needs.skip-check.outputs.should_skip != 'true' }} && !contains( github.event.pull_request.labels.*.name, 'renovate')
steps:
- uses: actions/checkout@8530928916aaef40f59e6f221989ccb31f5759e7
with:
Expand Down

0 comments on commit a138deb

Please sign in to comment.