Skip to content

Commit c7f2b5d

Browse files
committed
CI: Do not run package steps in pull requests
1 parent 92d2cb1 commit c7f2b5d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ jobs:
6565
- run: nix-build -A check-cabal-freeze
6666

6767
package:
68-
# this will only work when the jobs above have uploaded
69-
# their stuff to the nix cache, which will only work
70-
# in this repository
71-
if: github.repository == 'entropia/tip-toi-reveng'
68+
# this will only work when the jobs above have uploaded their stuff to the
69+
# nix cache, which will not work for pull requests from other repositories
70+
if: github.event_name != 'pull_request'
7271
runs-on: ubuntu-latest
7372
needs: build
7473
steps:

0 commit comments

Comments
 (0)