chore: workflow to protect the metadata.ts file against manual changes #56655
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
# Approve PRs with "auto-approve". mergify takes care of the actual merge. | |
name: auto-approve | |
on: | |
pull_request_target: | |
types: [ labeled, unlabeled, opened, synchronize, reopened, ready_for_review, review_requested ] | |
jobs: | |
auto-approve: | |
if: contains(github.event.pull_request.labels.*.name, 'auto-approve') | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: hmarr/[email protected] | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" |