Update for go 124 #62
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automatic pull request review and merge | |
on: | |
pull_request: | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Comment PR' | |
uses: actions/[email protected] | |
if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'dependabot-preview[bot]' | |
with: | |
github-token: ${{ secrets.AUTOMERGE }} | |
script: | | |
const { issue: { number: issue_number }, repo: { owner, repo } } = context; | |
github.issues.createComment({ issue_number, owner, repo, body: '' }); | |
- uses: actions/checkout@v2 | |
- name: Auto approve and merge | |
uses: ahmadnassri/action-dependabot-auto-merge@v2 | |
with: | |
github-token: ${{ secrets.AUTOMERGE }} | |
target: minor |