Closed UnschooledGamer closed 1 day ago
https://github.com/stackblitz-labs/pkg.pr.new, that Allows continuous (PREVIEW) releases for PR (that's what we're using it for) ,
The condition is a combination of three parts, connected by logical OR operators (||):
||
github.event.review.state == 'APPROVED' && !contains(github.event.pull_request.labels.name, 'DO NOT PREVIEW RELEASE')
contains(github.event.pull_request.labels.name, 'Bypass check - PREVIEW RELEASE')
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.name, 'PR Manual CI RUN'))
If any of these conditions are true, the overall condition is true.
Code Explanation by AI!
let's try Bypass check - PREVIEW RELEASE Label
Open in Stackblitz
yarn add https://pkg.pr.new/riffy-team/riffy@16.tgz
commit: f95af79
f95af79
Adds
https://github.com/stackblitz-labs/pkg.pr.new, that Allows continuous (PREVIEW) releases for PR (that's what we're using it for) ,
The condition is a combination of three parts, connected by logical OR operators (
||
):github.event.review.state == 'APPROVED' && !contains(github.event.pull_request.labels.name, 'DO NOT PREVIEW RELEASE')
contains(github.event.pull_request.labels.name, 'Bypass check - PREVIEW RELEASE')
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.name, 'PR Manual CI RUN'))
If any of these conditions are true, the overall condition is true.
Code Explanation by AI!