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 7b68aeb commit d2ea4fc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
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 @@ -14,7 +14,7 @@ jobs:
- uses: hmarr/debug-action@v2

check-mergeability:
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/check-mergeability.yaml@main
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
jobs:
update-deployments-k8s:
if: ${{ github.repository != 'networkservicemesh/cmd-template' }}
if: ${{ github.repository != 'networkservicemesh/cmd-template' && github.event.commits[0].author.name != 'dependabot[bot]' }}
uses: networkservicemesh/.github/.github/workflows/update-deployments.yaml@main
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

0 comments on commit d2ea4fc

Please sign in to comment.