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 f967af0..16a211f 100644 --- a/.github/workflows/automerge.yaml +++ b/.github/workflows/automerge.yaml @@ -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')}} uses: networkservicemesh/.github/.github/workflows/automerge.yaml@main secrets: token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}