diff --git a/.github/workflows/pull-request-lint.yml b/.github/workflows/pull-request-lint.yml index a845942d..ebc45d6a 100644 --- a/.github/workflows/pull-request-lint.yml +++ b/.github/workflows/pull-request-lint.yml @@ -36,6 +36,7 @@ jobs: PR_BODY: ${{ github.event.pull_request.body }} EXPECTED: By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license. HELP: Contributor statement missing from PR description. Please include the following text in the PR description + if: "!(github.event.pull_request.user.login == 'github-actions@github.org')" steps: - uses: actions/github-script@v6 with: diff --git a/.projenrc.ts b/.projenrc.ts index edaf4ad5..8336ff67 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -33,6 +33,11 @@ const project = new awscdk.AwsCdkConstructLibrary({ githubOptions: { pullRequestLintOptions: { contributorStatement: 'By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.', + contributorStatementOptions: { + exemptUsers: [ + 'github-actions@github.org', + ] + } }, }, docgen: false,