Skip to content

Commit

Permalink
Enable dependabot for updating github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Botond Szirtes <[email protected]>
  • Loading branch information
bszirtes committed Feb 27, 2025
1 parent 7b1cd3c commit 00c0c0d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
groups:
gh-actions-minor:
applies-to: version-updates
update-types:
- "minor"
- "patch"
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'ci'
jobs:
automerge:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor == 'nsmbot'}}
if: ${{ github.event.workflow_run.conclusion == 'success' && (github.actor == 'nsmbot' || github.actor == 'dependabot[bot]')}}
uses: networkservicemesh/.github/.github/workflows/automerge.yaml@main
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/update-dependent-repositories-gomod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
jobs:
update-dependent-repos:
if: ${{ github.event.commits[0].author.name != 'dependabot[bot]' }}
uses: networkservicemesh/.github/.github/workflows/update-dependent-repositories-gomod.yaml@main
with:
dependent_repositories: |
Expand Down

0 comments on commit 00c0c0d

Please sign in to comment.