Skip to content

Commit

Permalink
confirmation step
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Mar 11, 2024
1 parent 749edca commit daa408e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
files: |
.github/workflows/pr.yml
justfile
Dockerfile
- id: cargo
uses: tj-actions/changed-files@800a2825992141ddde1a8bca8ad394cec34d3188
with:
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:

rust:
needs: meta
if: needs.meta.outputs.any_changed == 'true'
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v43-rust
permissions:
Expand Down Expand Up @@ -85,6 +87,7 @@ jobs:

linkerd-install:
needs: meta
if: needs.meta.outputs.any_changed == 'true'
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
Expand All @@ -106,8 +109,17 @@ jobs:
env:
TMPDIR: ${{ runner.temp }}

ok:
timeout-minutes: 3
needs: [rust, rust-crates, linkerd-install]
if: always()
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure')
run: exit 1

auto-merge:
needs: [rust, linkerd-install]
needs: ok
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit daa408e

Please sign in to comment.