merge master #40
BIN
.github/workflows/.dependabot-automerge.yml.swp
vendored
Normal file
BIN
.github/workflows/.dependabot-automerge.yml.swp
vendored
Normal file
Binary file not shown.
9
.github/workflows/dependabot-automerge.yml
vendored
9
.github/workflows/dependabot-automerge.yml
vendored
@ -13,12 +13,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||
steps:
|
||||
- name: Dependabot metadata
|
||||
- name: metadata
|
||||
id: metadata
|
||||
uses: dependabot/fetch-metadata@v1.1.1
|
||||
with:
|
||||
github-token: "${{ secrets.TOKEN }}"
|
||||
- name: Enable auto-merge for Dependabot PRs
|
||||
- name: approve
|
||||
run: gh pr review --approve "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{github.event.pull_request.html_url}}
|
||||
GITHUB_TOKEN: ${{secrets.TOKEN}}
|
||||
- name: merge
|
||||
if: ${{contains(steps.metadata.outputs.dependency-names, 'go.unistack.org')}}
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user