Skip to content

Bump hmarr/auto-approve-action from 2.0.0 to 4.0.0 #7

Bump hmarr/auto-approve-action from 2.0.0 to 4.0.0

Bump hmarr/auto-approve-action from 2.0.0 to 4.0.0 #7

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

View workflow run for this annotation

GitHub Actions / Auto Merge GitHub Actions

Invalid workflow file

The workflow is not valid. .github/workflows/auto-merge-github-actions.yml (Line: 8, Col: 13): Unexpected value 'write-all'
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 }}