prowler-cloud / prowler

Prowler is an Open Source Security tool for AWS, Azure, GCP and Kubernetes to do security assessments, audits, incident response, compliance, continuous monitoring, hardening and forensics readiness. Includes CIS, NIST 800, NIST CSF, CISA, FedRAMP, PCI-DSS, GDPR, HIPAA, FFIEC, SOC2, GXP, Well-Architected Security, ENS and more
https://prowler.com
Apache License 2.0
10.53k stars 1.51k forks source link

fix(backport): Workaround not to fail if no backport is needed #4707

Closed jfagoagas closed 1 month ago

jfagoagas commented 1 month ago

Context

The backport action fails if the PR does not need a backport. The issue is known and reported in https://github.com/sorenlouv/backport-github-action/issues/127

Description

Add a workaround to check first the labels included in the PR and if any starts with backport-to- the action will continue executing, if not it finishes.

Checklist

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.