Skip to content

Commit cde65c5

Browse files
authored
BLD: make containers only build on bilby-dev (#1058)
I've seen emails from build jobs failing on forks, we should just builds everywhere except bilby-dev/bilby. This change will mean that if we want to build from an unmerged branch, we will need that branch to be pushed to bilby-dev.
1 parent 66f502e commit cde65c5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build-containers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
jobs:
99
build-container:
10+
if: ${{ github.repository == 'bilby-dev/bilby' }}
1011
permissions:
1112
attestations: write
1213
contents: read

0 commit comments

Comments
 (0)