Skip to content

Commit

Permalink
chore: update dependabot setting
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuNen344 committed May 31, 2024
1 parent 0248414 commit 8017b5e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:
checks: write
pull-requests: write
repository-projects: write
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.actor_id == '49699333' }} # "dependabot[bot]"
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: enable auto-merge
if: ${{ steps.metadata.outputs.package-ecosystem != 'gitsubmodule' }}
shell: bash
run:
gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}"
Expand Down

0 comments on commit 8017b5e

Please sign in to comment.