diff --git a/.github/workflows/update-images.yml b/.github/workflows/update-images.yml index ffc69da..75506b6 100644 --- a/.github/workflows/update-images.yml +++ b/.github/workflows/update-images.yml @@ -28,7 +28,9 @@ concurrency: jobs: prepare: name: Work out the image updates - if: github.ref == 'refs/heads/main' + # A fork runs neither job: it has no App key, so `propose` would fail + # every week on whatever its older main still pins. + if: github.repository_owner == 'WilliamSmithEdward' && github.ref == 'refs/heads/main' runs-on: ubuntu-24.04 timeout-minutes: 10 outputs: diff --git a/.github/workflows/update-yara-rules.yml b/.github/workflows/update-yara-rules.yml index 10871e1..e2edfc0 100644 --- a/.github/workflows/update-yara-rules.yml +++ b/.github/workflows/update-yara-rules.yml @@ -28,7 +28,9 @@ concurrency: jobs: prepare: name: Work out the YARA pin update - if: github.ref == 'refs/heads/main' + # A fork runs neither job: it has no App key, so `propose` would fail + # every week on whatever its older main still pins. + if: github.repository_owner == 'WilliamSmithEdward' && github.ref == 'refs/heads/main' runs-on: ubuntu-24.04 timeout-minutes: 10 outputs: