chore(deps): bump web-vitals from 1.1.2 to 3.4.0 #6
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-approve | |
on: | |
pull_request: | |
types: | |
- opened | |
- labeled | |
- ready_for_review | |
- reopened | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
approve: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false | |
steps: | |
- name: Checkout PR | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- name: Auto-approve PRs by other users as team-tf-cdk | |
if: github.event.pull_request.user.login != 'team-tf-cdk' | |
env: | |
GH_TOKEN: ${{ secrets.TEAM_TF_CDK }} | |
run: gh pr review ${{ github.event.pull_request.number }} --approve | |
- name: Auto-approve PRs by team-tf-cdk as github-actions[bot] | |
if: github.event.pull_request.user.login == 'team-tf-cdk' | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token does not need to be replaced | |
run: gh pr review ${{ github.event.pull_request.number }} --approve |