Skip to content

Commit dbbdc28

Browse files
committed
ci: don't publish Renovate branches to GH Pages
1 parent c88fce1 commit dbbdc28

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,15 @@ jobs:
9494
# - and either
9595
# - this is not a PR (so it's some other event that happened in our fork, like a push or merge group)
9696
# - or it's a PR from our fork (not some other fork)
97+
# - and
98+
# - it's not a Renovate branch (just to reduce noise)
9799
if: ${{
98100
(needs.build.outputs.any-workspace == 'true') &&
99101
(
100102
(!github.event.pull_request) ||
101103
(github.event.pull_request.head.repo.full_name == github.repository)
102-
)
104+
) &&
105+
(!startsWith(github.ref_name, 'renovate/'))
103106
}}
104107
name: Publish preview playgrounds to GitHub Pages
105108
steps:

0 commit comments

Comments
 (0)