Skip to content

Commit

Permalink
CI: don't run updates in forks
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Sep 12, 2023
1 parent b2103bb commit 16486f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
update:
if: github.repository == 'fufexan/nix-gaming'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- cron: '0 0 * * *' # daily

jobs:
if: github.repository == 'fufexan/nix-gaming'
update:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 16486f3

Please sign in to comment.