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

Ignore non-code changes in CI for PRs #599

Merged
merged 5 commits into from
Jul 8, 2022

Conversation

jeff-mccoy
Copy link
Contributor

@jeff-mccoy jeff-mccoy commented Jul 7, 2022

Description

Do not run tests for docs-only changes. See https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks for more details on how this works. This config should skip E2E tests and replace with a "no test required" job if changes only occurred to the following matching file patterns:

  • '**.md'
  • '**.jpg'
  • '**.png'
  • '**.gif'
  • '**.svg'
  • 'adr/**'
  • 'docs/**'

test doc ci trigger


try again?


more experimenting
@jeff-mccoy jeff-mccoy force-pushed the skip-non-code-changes-in-ci branch from 1576f28 to 3ba62a6 Compare July 7, 2022 23:48
@jeff-mccoy jeff-mccoy marked this pull request as ready for review July 7, 2022 23:49
@jeff-mccoy jeff-mccoy requested a review from YrrepNoj July 7, 2022 23:52
@jeff-mccoy jeff-mccoy enabled auto-merge (squash) July 8, 2022 22:44
@jeff-mccoy jeff-mccoy disabled auto-merge July 8, 2022 23:03
@jeff-mccoy
Copy link
Contributor Author

With docs-only changes:

Screen Shot 2022-07-08 at 6 00 11 PM

With code-only changes:

Screen Shot 2022-07-08 at 6 02 46 PM

With code and docs changes:

Screen Shot 2022-07-08 at 6 01 33 PM

@jeff-mccoy jeff-mccoy merged commit 04e4779 into master Jul 8, 2022
@jeff-mccoy jeff-mccoy deleted the skip-non-code-changes-in-ci branch July 8, 2022 23:06
Noxsios pushed a commit that referenced this pull request Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants