Skip to content

Commit e893d73

Browse files
committed
Cherry picking CI flow file so users don't get a CI build fail after merging to latest release
1 parent 3eeacc3 commit e893d73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
name: Publish dev branch to Docker Hub
4545
needs: test
4646
runs-on: ubuntu-latest
47-
if: github.ref == 'refs/heads/dev'
47+
if: github.ref == 'refs/heads/dev' && github.repository_owner == 'nightscout'
4848
env:
4949
DOCKER_IMAGE: nightscout/cgm-remote-monitor
5050
steps:
@@ -68,7 +68,7 @@ jobs:
6868
name: Publish master branch to Docker Hub
6969
needs: test
7070
runs-on: ubuntu-latest
71-
if: github.ref == 'refs/heads/master'
71+
if: github.ref == 'refs/heads/master' && github.repository_owner == 'nightscout'
7272
env:
7373
DOCKER_IMAGE: nightscout/cgm-remote-monitor
7474
steps:

0 commit comments

Comments
 (0)