From e563e8f6ebca3138aa81b55f2edbba63f310dfb1 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 1 Sep 2024 11:38:38 +0100 Subject: [PATCH] Only regenerate the module list for changes on the master branch. --- .github/workflows/regen-modules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/regen-modules.yml b/.github/workflows/regen-modules.yml index e633cd4e..fc491721 100644 --- a/.github/workflows/regen-modules.yml +++ b/.github/workflows/regen-modules.yml @@ -3,7 +3,7 @@ on: - push jobs: build: - if: github.repository == 'inspircd/inspircd-contrib' + if: github.repository == 'inspircd/inspircd-contrib' && github.ref_name == 'master' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4