diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-03-06 03:00:50 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-04-14 18:37:04 -0400 |
commit | f72fbd756214325167ab12697547d7aeefe447c0 (patch) | |
tree | f18c0f8d6c8dfae5cf11699e1c03d772c32912c3 | |
parent | 22b9a66f7c8281de4dc9bbdfb0614e8c1a91f895 (diff) | |
download | meson-f72fbd756214325167ab12697547d7aeefe447c0.zip meson-f72fbd756214325167ab12697547d7aeefe447c0.tar.gz meson-f72fbd756214325167ab12697547d7aeefe447c0.tar.bz2 |
CI images: don't build on a schedule for forks
It's a bit annoying having to *manually* disable a workflow for forks,
because the scheduled build is a waste of time and also spammy.
On the other hand, having the workflow enabled is in general a good
thing, because it is in fact desirable to test it locally in forks.
-rw-r--r-- | .github/workflows/images.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index 9c11f4d..b7e9de3 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -25,6 +25,8 @@ on: jobs: build: + # do not run the weekly scheduled job in a fork + if: github.event_name != 'schedule' || github.repository == 'mesonbuild/meson' env: HAS_DOCKER_CREDENTIALS: ${{ secrets.DOCKER_PASSWORD != '' }} name: ${{ matrix.cfg.name }} |