chore: Remove reference to change-freeze-emergency-deploy branch #369
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
# THIS CODE WAS AUTOGENERATED. DO NOT MODIFY THIS FILE DIRECTLY | |
# THE SOURCE CODE LIVES IN A DIFFERENT REPOSITORY: | |
# - centralized-templates | |
# FILE STEWARD: @pleo-io/team-devx,@pleo-bot-auto-approver | |
name: Check PR | |
on: | |
pull_request: | |
types: | |
- assigned | |
- unassigned | |
- labeled | |
- unlabeled | |
- opened | |
- edited | |
- closed | |
- reopened | |
- synchronize | |
- ready_for_review | |
- locked | |
- unlocked | |
- review_requested | |
- review_request_removed | |
concurrency: | |
group: ci-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
autoApproveEnabled: true | |
jobs: | |
auto-approve-pr: | |
runs-on: ubuntu-latest | |
name: Auto-approve PR | |
if: ${{ contains(fromJSON('["pleo-bot-renovate", "pleo-file-distributor[bot]"]'), github.actor) && contains(github.event.pull_request.labels.*.name, 'autoapprove') }} | |
steps: | |
- uses: hmarr/auto-approve-action@v3 | |
if: env.autoApproveEnabled == 'true' | |
with: | |
github-token: ${{ secrets.PLEO_BOT_AUTO_APPROVER_TOKEN }} | |
review-message: "This has been auto-approved by @pleo-bot-auto-approver. If your PR isn't being auto-merged as desired, make sure to add @pleo-bot-auto-approver to the CODEOWNERS file. More details how to use Renovate [here](https://www.notion.so/pleo/How-to-use-Renovate-781e4861200744c6b38d3efd8c6d525a?pvs=4)" |