Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dependabot): added proper pattern matching for dependabot branches #334

Merged
merged 1 commit into from
May 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 .
Expand Down