Closed Universal-Omega closed 2 years ago
It actually worked once I added:
if: |
github.event.pull_request.merged == true
&& contains(github.event.pull_request.labels.*.name, 'auto-backport')
&& (
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport')
|| (github.event.action == 'closed')
)
As well as:
auto_backport_label_prefix: backport-to-
And replaced the backport:skip
label with auto-backport
, using that instead when I do want to backport.
The title of this issue is self explanatory, but in recent versions of this action the backport:skip label no longer applies, and causes this to always fail the workflow, at least if it isn't being backported. Can this functionality please be readded?
For reference: