Skip to content

Commit

Permalink
Merge pull request #1677 from ertis-research/master
Browse files Browse the repository at this point in the history
fix(gha): Avoid running cron on forks
  • Loading branch information
thjaeckle authored Jul 5, 2023
2 parents 7f0eb49 + db95657 commit 8273bec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ on:
- cron: '0 1 * * *' # run at 1 AM UTC
workflow_dispatch:

env:
GITHUB_REPOSITORY: eclipse-ditto/ditto
jobs:
build:
if: github.repository == ${{ env.GITHUB_REPOSITORY }}
runs-on: ubuntu-latest
steps:
-
Expand Down

0 comments on commit 8273bec

Please sign in to comment.