Skip to content

Commit a600039

Browse files
committed
Changed workflow to only build GitHub pages on prometheus/client_java
Signed-off-by: dhoard <[email protected]>
1 parent 913a7c4 commit a600039

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/github-pages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ defaults:
2929
jobs:
3030
# Build job
3131
build:
32+
if: github.repository == 'prometheus/client_java'
3233
runs-on: ubuntu-24.04
3334
steps:
3435
- uses: actions/checkout@v4
@@ -54,6 +55,7 @@ jobs:
5455

5556
# Deployment job
5657
deploy:
58+
if: github.repository == 'prometheus/client_java'
5759
permissions:
5860
contents: read
5961
pages: write

0 commit comments

Comments
 (0)