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

[NET-11150] ci: fix conditional skip and add safeguard #21781

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

zalimeni
Copy link
Member

@zalimeni zalimeni commented Sep 25, 2024

Adopt a third-party action to avoid script bugs, and to fix a current issue where the script fails to detect all changes when processing push events on PR branches.

Adapted from hashicorp/consul-dataplane#637. See that PR for testing details and background context.

PR Checklist

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

@zalimeni zalimeni added pr/no-changelog PR does not need a corresponding .changelog entry backport/all Apply backports for all active releases per .release/versions.hcl labels Sep 25, 2024
@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 Sep 25, 2024
@zalimeni zalimeni force-pushed the zalimeni/fix-ci-skip-action branch 2 times, most recently from 36fd223 to baae3ce Compare September 25, 2024 14:29
@zalimeni zalimeni marked this pull request as ready for review September 25, 2024 14:49
@@ -22,7 +22,6 @@ permissions:
env:
Copy link
Member Author

Choose a reason for hiding this comment

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

No updates needed to triggers as they were already split on PR and protected branch push.

@@ -29,25 +29,14 @@ env:
# strip the hashicorp/ off the front of github.repository for consul
Copy link
Member Author

Choose a reason for hiding this comment

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

No updates needed to triggers as they were already split on PR and protected branch push.

Comment on lines +49 to +52
docs/**
ui/**
website/**
grafana/**
Copy link
Member Author

Choose a reason for hiding this comment

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

These are the only changed lines from the original dataplane PR.

Adopt a third-party action to avoid script bugs, and to fix a current
issue where the script fails to detect all changes when processing push
events on PR branches.

Adapted from hashicorp/consul-dataplane#637. See that PR for testing
details and background context.
@zalimeni
Copy link
Member Author

PAT issue for non-failed backport to 1.18; will have to rerun the BPA workflow once that's resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/all Apply backports for all active releases per .release/versions.hcl backport/ent/1.15 Changes are backported to 1.15 ent backport/ent/1.17 This release series is longer active on CE or Ent backport/ent/1.18 Changes are backported to 1.18 ent backport/1.19 This release series is longer active on CE, use backport/ent/1.19 backport/1.20 Changes are backported to 1.20 pr/no-changelog PR does not need a corresponding .changelog entry 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