diff --git a/.github/workflows/.github/workflows/configure-repository.yml b/.github/workflows/configure-repository.yml similarity index 92% rename from .github/workflows/.github/workflows/configure-repository.yml rename to .github/workflows/configure-repository.yml index c04b00b..62c7a70 100644 --- a/.github/workflows/.github/workflows/configure-repository.yml +++ b/.github/workflows/configure-repository.yml @@ -20,8 +20,8 @@ jobs: first-time-setup: runs-on: ubuntu-latest - # Ensure is is only run once, when the repository is generated - if: github.run_number == 1 + # Ensure is is only run once, when the repository is generated, with a check to ensure it's the master branch + if: github.run_number == 1 && github.ref == 'refs/heads/master' steps: - name: Checkout code