Skip to content

Commit

Permalink
Do not run Github Actions on forks.
Browse files Browse the repository at this point in the history
  • Loading branch information
yozik04 committed Jul 25, 2024
1 parent 434073e commit 96436f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
name: Publish to Docker Hub
uses: ./.github/workflows/publish_docker.yml
needs: test
if: github.repository_owner == 'ParadoxAlarmInterface'
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
name: Publish to Docker Hub
uses: ./.github/workflows/publish_docker.yml
needs: test
if: github.repository_owner == 'ParadoxAlarmInterface'
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
publish_pypi:
name: Publish to PyPI
uses: ./.github/workflows/publish_pypi.yml
needs: test
if: github.repository_owner == 'ParadoxAlarmInterface'
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 96436f6

Please sign in to comment.