Skip to content

Commit eb05cb7

Browse files
committed
Enable dependabot for updating github actions
Signed-off-by: Botond Szirtes <botond.szirtes@est.tech>
1 parent 43efbf9 commit eb05cb7

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
# Set update schedule for GitHub Actions
3+
4+
version: 2
5+
updates:
6+
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
# Check for updates to GitHub Actions every week
11+
interval: "weekly"
12+
groups:
13+
gh-actions-minor:
14+
applies-to: version-updates
15+
update-types:
16+
- "minor"
17+
- "patch"

.github/workflows/automerge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: hmarr/debug-action@v2
1515

1616
check-mergeability:
17-
if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor == 'nsmbot' }}
17+
if: ${{ github.event.workflow_run.conclusion == 'success' && (github.actor == 'nsmbot' || github.actor == 'dependabot[bot]') }}
1818
uses: networkservicemesh/.github/.github/workflows/check-mergeability.yaml@main
1919
secrets:
2020
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

.github/workflows/update-deployments.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
jobs:
88
update-deployments-k8s:
9-
if: ${{ github.repository != 'networkservicemesh/cmd-template' }}
9+
if: ${{ github.repository != 'networkservicemesh/cmd-template' && github.event.commits[0].author.name != 'dependabot[bot]' }}
1010
uses: networkservicemesh/.github/.github/workflows/update-deployments.yaml@main
1111
secrets:
1212
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)