From 06eaefeb06cddf2c851a811621ddd534bca567c7 Mon Sep 17 00:00:00 2001 From: Pascal Zumkehr Date: Tue, 29 Oct 2024 10:07:58 +0100 Subject: [PATCH] Update github action --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0f2977..f47de7e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,8 @@ name: Build on: push: + branches: + - main # create pull request to run actions on other branches pull_request: jobs: @@ -38,8 +40,9 @@ jobs: coverage: name: Coverage runs-on: ubuntu-latest + if: ${{ !github.event.pull_request.head.repo.fork }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v9.0.0 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: