diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 790e166..d8e0a26 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,13 +3,13 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" labels: - "dependencies" - package-ecosystem: "npm" directory: "/" schedule: - interval: "weekly" - allow: - - dependency-name: "@actions/*" + interval: "monthly" + labels: + - "dependencies" diff --git a/.github/workflows/automerge-dependabot.yml b/.github/workflows/automerge-dependabot.yml new file mode 100644 index 0000000..cbaeef9 --- /dev/null +++ b/.github/workflows/automerge-dependabot.yml @@ -0,0 +1,13 @@ +name: Auto-merge Dependabot +on: pull_request + +jobs: + automerge: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - uses: peter-evans/enable-pull-request-automerge@v2 + with: + token: ${{ secrets.ACTIONS_BOT_TOKEN }} + pull-request-number: ${{ github.event.pull_request.number }} + merge-method: squash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2a318e..fca134c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v4 with: + token: ${{ secrets.ACTIONS_BOT_TOKEN }} commit-message: 'build: update distribution' title: Update distribution body: |