fix(aws-lambda): lazily initialize aws library #12114
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: Pull Request Label Checker | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, labeled, unlabeled] | |
jobs: | |
check-labels: | |
name: prevent merge labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: do-not-merge label found | |
run: echo "do-not-merge label found, this PR will not be merged"; exit 1 | |
if: ${{ contains(github.event.*.labels.*.name, 'pr/do not merge') || contains(github.event.*.labels.*.name, 'DO NOT MERGE') }} | |
- name: backport master label found | |
run: echo "Please do not backport into master, instead, create a PR targeting master and backport from it instead."; exit 1 | |
if: ${{ contains(github.event.*.labels.*.name, 'backport master') }} |