fix: ignore function hash in regression test as the hash changes with updated dependencies that affect the bundled lambda code #940
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: 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- name: Turn on automerge for this PR by trusted users | |
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.TEAM_TF_CDK }} | |
run: gh pr merge --auto --squash ${{ github.event.pull_request.number }} |