Skip to content

Commit

Permalink
Explicitly disable the (required) jobs docker and setup_sh for
Browse files Browse the repository at this point in the history
anything else but merge groups.

The idea comes from bevyengine/bevy#7824 (comment).
  • Loading branch information
W95Psp committed Jul 5, 2023
1 parent b0118fc commit 87cc9a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test_installs.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
name: Test installations

on:
pull_request:
merge_group:
workflow_dispatch:
push:
branches: [main]

jobs:
docker:
if: ${{ github.event_name == 'merge_group' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build -f .docker/Dockerfile . -t hacspec-v2
setup_sh:
if: ${{ github.event_name == 'merge_group' }}
strategy:
matrix:
os:
Expand Down

0 comments on commit 87cc9a2

Please sign in to comment.