Bump hmarr/auto-approve-action from 2.0.0 to 4.0.0 #7
Workflow file for this run
This file contains 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: Auto Merge GitHub Actions | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
permissions: | ||
contents: write-all | ||
Check failure on line 8 in .github/workflows/auto-merge-github-actions.yml GitHub Actions / Auto Merge GitHub ActionsInvalid workflow file
|
||
pull-requests: write | ||
jobs: | ||
auto-merge: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.pull_request.head.ref, 'dependabot/github_actions/') | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Auto approve | ||
uses: hmarr/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN }} | ||
- name: Merge pull request | ||
uses: pascalgn/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |