hashicorp / consul-k8s

First-class support for Consul Service Mesh on Kubernetes
https://www.consul.io/docs/k8s
Mozilla Public License 2.0
668 stars 321 forks source link

Manual backport of [NET-11150] ci: fix conditional skip and add safeguard into release/1.6.0 #4371

Closed zalimeni closed 3 weeks ago

zalimeni commented 3 weeks ago

Backport

This PR is manually created from #4363 to be assessed for backporting to release/1.6.0.

The below text is copied from the body of the original 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.

How I've tested this PR

See hashicorp/consul-dataplane#637 and conditional skip output in this PR's checks.

How I expect reviewers to test this PR

👀

Checklist


Overview of commits - 93e8afef098fa123eead5482ce6cba22ecf44c07