You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--jq 'if (.labels|map(.name==env.LABEL)|any) then error("\(.url) has the \(env.LABEL) label, forbidding it to be in this release proposal") end' \
97
+
--jq '
98
+
if (.labels|any(.name==env.DONT_LAND_LABEL)) then
99
+
error("\(.url) has the \(env.DONT_LAND_LABEL) label, forbidding it to be in this release proposal")
100
+
elif (.labels|any(.name==env.LTS_WATCH_LABEL)) then
101
+
error("\(.url) has the \(env.LTS_WATCH_LABEL) label, please remove the label now that the PR is included in a release proposal")
102
+
end
103
+
' \
98
104
"$PR_URL" > /dev/null
99
105
done
100
106
shell: bash # See https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference, we want the pipefail option.
0 commit comments