This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
chore(deps): update by cdktf/cdktf-repository-manager@e657ab6 #146
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
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". | |
name: automerge | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- labeled | |
- ready_for_review | |
- reopened | |
- synchronize | |
concurrency: ${{ github.workflow }}-${{ github.head_ref }} | |
jobs: | |
automerge: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
if: contains(github.event.pull_request.labels.*.name, 'automerge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && github.event.pull_request.draft == false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Turn on automerge for this PR by a trusted user or bot | |
if: github.event.pull_request.user.login == 'team-tf-cdk' || contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) || github.actor == 'dependabot[bot]' | |
env: | |
GH_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} | |
run: gh pr merge --auto --squash ${{ github.event.pull_request.number }} |