Skip to content

Commit

Permalink
feat: Add commit for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryohidaka committed Mar 5, 2024
1 parent 8e48c25 commit bf2ddcf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,23 @@ jobs:
if: ${{ github.actor == 'dependabot[bot]' }}

steps:
- uses: actions/checkout@v3

- name: Dependabot metadata
id: metadata

uses: dependabot/fetch-metadata@v1.1.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Add commit for release
run: |
git config --local user.email "49699333+dependabot[bot]@users.noreply.github.com"
git config --local user.name "dependabot[bot]"
git commit --allow-empty -m "fix: Bump the dependencies."
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Enable auto-merge for Dependabot PRs

if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' }}
Expand Down

0 comments on commit bf2ddcf

Please sign in to comment.