Skip to content

Commit

Permalink
Update dependabot-automerge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Teja authored Mar 20, 2024
1 parent b194110 commit 2fde042
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}" # Use the built-in GITHUB_TOKEN secret
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Print update-type
run: echo "Update type is ${{ steps.metadata.outputs.update-type }}"
- name: Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr merge --auto --merge "$PR_URL"
Expand Down

0 comments on commit 2fde042

Please sign in to comment.