Skip to content

Backport of NET-5382 & PLAT-1159: Do not trigger workflow if only doc files are in commit history into release/1.15.x#18569

Merged
hc-github-team-consul-core merged 1 commit into
release/1.15.xfrom
backport/NET-5382/merely-amazed-mongoose
Aug 23, 2023
Merged

Backport of NET-5382 & PLAT-1159: Do not trigger workflow if only doc files are in commit history into release/1.15.x#18569
hc-github-team-consul-core merged 1 commit into
release/1.15.xfrom
backport/NET-5382/merely-amazed-mongoose

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
Collaborator

Backport

This PR is auto-generated from #18528 to be assessed for backporting due to the inclusion of the label backport/1.15.

The below text is copied from the body of the original PR.


Description

Stop running go-test and test-integrations workflow if the changes in PR only occurs in docs, ui, website, grafana

  • Add a script to check changeset in branch history
  • If change includes docs + *.go files, trigger test workflows
  • If changes ONLY include docs/, do not trigger test workflows

Testing & Reproduction steps

Testcases

  1. Validate that the following jobs are skipped when changeset only occurs in docs file
    See current CI result
  • go-test
  • test-integrations
Screenshot 2023-08-22 at 4 22 04 PM
  1. Validate that the following jobs are are NOT skipped when changeset occurs in docs and *.go files
  • go-test
  • test-integrations
Screenshot 2023-08-22 at 4 21 04 PM

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/NET-5382/merely-amazed-mongoose branch from 83a2e72 to 2630934 Compare August 23, 2023 19:26
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/NET-5382/merely-amazed-mongoose branch from 6a089bd to 50bac52 Compare August 23, 2023 19:26
@vercel vercel Bot temporarily deployed to Preview – consul-ui-staging August 23, 2023 19:26 Inactive
@github-actions github-actions Bot added type/ci Relating to continuous integration (CI) tooling for testing or releases theme/contributing Additions and enhancements to community contributing materials labels Aug 23, 2023
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@vercel vercel Bot temporarily deployed to Preview – consul August 23, 2023 19:31 Inactive
@hc-github-team-consul-core hc-github-team-consul-core merged commit 175a5d6 into release/1.15.x Aug 23, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/NET-5382/merely-amazed-mongoose branch August 23, 2023 19:37
@atlassian atlassian Bot mentioned this pull request Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme/contributing Additions and enhancements to community contributing materials type/ci Relating to continuous integration (CI) tooling for testing or releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants