feat(core): new RemovalPolicy.RETAIN_EXCEPT_ON_CREATE to only retain resources that have been successfully created #49949
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/auto-approve-action@v3.2.1 | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" |