Skip to content

Commit

Permalink
github workflow: only run arm64 for etcd-io/bbolt
Browse files Browse the repository at this point in the history
Skip running arm64 jobs that use actuated's runners for commits done in
forked repositories. These jobs will not run and eventually fail in
GitHub actions.

Signed-off-by: Ivan Valdes <ivan@vald.es>
  • Loading branch information
ivanvc committed Nov 21, 2023
1 parent 947a3f3 commit 607a0c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ permissions: read-all

jobs:
test-linux:
# this is to prevent arm64 jobs from running at forked projects
if: ${{ github.repository == 'etcd-io/bbolt' || startsWith(inputs.runs-on, 'ubuntu') }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 607a0c3

Please sign in to comment.