Skip to content

Commit

Permalink
fix(gha): Avoid running cron on forks
Browse files Browse the repository at this point in the history
Signed-off-by: Altair-Bueno <altair.bueno@uma.es>
  • Loading branch information
Altair-Bueno committed Jul 5, 2023
1 parent 7f0eb49 commit db95657
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 db95657

Please sign in to comment.