From 81a30866cc1514246faa03c4481da6c3ad136742 Mon Sep 17 00:00:00 2001 From: Gabriel Guerra Date: Wed, 22 May 2024 21:40:02 -0400 Subject: [PATCH] fix(dependabot): added proper pattern matching for dependabot branches --- .github/workflows/dependencies.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 5b1be392..ec77cf5c 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -6,7 +6,7 @@ name: Update gomod2nix.toml upon Dependabot changes to Go dependencies on: push: branches: - - "dependabot/go_modules/*" + - "dependabot/go_modules/**" jobs: update_gomod2nix_toml_file: @@ -18,22 +18,22 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 - + - name: Install Nix uses: DeterminateSystems/nix-installer-action@v11 - + - name: Use Magic Nix Cache uses: DeterminateSystems/magic-nix-cache-action@v6 - + - name: Update gomod2nix.toml (if go.mod has changed) run: | nix develop --command gomod2nix - + - name: Set up Git config run: | git config user.name "${GITHUB_ACTOR}" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - + - name: Commit changes run: | git add .