Skip to content

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

Merged
hc-github-team-consul-core merged 1 commit intorelease/1.16.xfrom
backport/NET-5382/adequately-advanced-racer
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.16.x#18570
hc-github-team-consul-core merged 1 commit intorelease/1.16.xfrom
backport/NET-5382/adequately-advanced-racer

Conversation

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

Backport

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

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/adequately-advanced-racer branch from 7c72bba to 9e4cd7a Compare August 23, 2023 19:26
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/NET-5382/adequately-advanced-racer branch from 8e9fd33 to c89eb9f Compare August 23, 2023 19:26
@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
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-ui-staging August 23, 2023 19:29 Inactive
@vercel vercel bot temporarily deployed to Preview – consul August 23, 2023 19:32 Inactive
@hc-github-team-consul-core hc-github-team-consul-core merged commit 58ec03b into release/1.16.x Aug 23, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/NET-5382/adequately-advanced-racer branch August 23, 2023 19:39
asheshvidyut pushed a commit that referenced this pull request Sep 4, 2023
…to release/1.16.x (#18520)

resolve conflict

Co-authored-by: temp <temp@hashicorp.com>

Backport of bug: prevent go routine leakage due to existing DeferCheck into release/1.16.x (#18565)

* backport of commit 06d4c72

* backport of commit 42c37bb

---------

Co-authored-by: cskh <hui.kang@hashicorp.com>

fix for , non presence of consul-version meta (#18464) (#18561)

* fix for #18406 , non presence of consul-version meta

Co-authored-by: Vijay <vijayraghav22@gmail.com>

[BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549)

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

backport of commit c833fcc

Co-authored-by: NiniOak <anita.akaeze@hashicorp.com>

Backport of docs: Fix spelling errors across various pages on the site into release/1.16.x (#18537)

docs: Fix spelling errors across various pages on the site (#18533)

This commit fixes numerous spelling errors across the site and also
removes unnecessary whitespace that was present in the edited files.

Co-authored-by: Blake Covarrubias <blake@covarrubi.as>

Backport of Fix broken link on sameness group page into release/1.16.x (#18588)

backport of commit 05dd1a8

Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
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