diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..50b55a7 --- /dev/null +++ b/.github/dependabot.yml @@ -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" diff --git a/.github/workflows/automerge.yaml b/.github/workflows/automerge.yaml index c40519d..cf1b6f6 100644 --- a/.github/workflows/automerge.yaml +++ b/.github/workflows/automerge.yaml @@ -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') }} uses: networkservicemesh/.github/.github/workflows/check-mergeability.yaml@main secrets: token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}