Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore contributor statement for dependabot PRs #7

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/pull-request-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
permissions: read-all
jobs:
contributorStatement:
if: ${{ ! (github.event.pull_request.user.login == 'amazon-auto' || github.event.pull_request.user.login =='dependabot[bot]') }}
name: Require Contributor Statement
runs-on: ubuntu-latest
permissions:
Expand All @@ -20,7 +21,7 @@ jobs:
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
steps:
- uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
with:
script: |-
const actual = process.env.PR_BODY.replace(/\r?\n/g, "\n");
Expand Down
Loading