Skip to content

automatically approve PRs that were created by pulumi-bot #2

automatically approve PRs that were created by pulumi-bot

automatically approve PRs that were created by pulumi-bot #2

name: Auto approve
on: pull_request
jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: (github.event.pull_request.user.login == 'pulumi-bot') && (github.event.pull_request.head.repo.full_name == github.repository) && (contains(github.event.pull_request.labels.*.name, 'automation/merge')

Check failure on line 10 in .github/workflows/auto-approve-for-auto-merge.yml

View workflow run for this annotation

GitHub Actions / Auto approve

Invalid workflow file

The workflow is not valid. .github/workflows/auto-approve-for-auto-merge.yml (Line: 10, Col: 9): Unexpected end of expression: ')'. Located at position 200 within expression: (github.event.pull_request.user.login == 'pulumi-bot') && (github.event.pull_request.head.repo.full_name == github.repository) && (contains(github.event.pull_request.labels.*.name, 'automation/merge')
steps:
- uses: hmarr/auto-approve-action@v4