Skip to content

Commit

Permalink
GH Actions: stop scheduled workflows running on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Jan 10, 2025
1 parent 9862356 commit 1cd9e23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/branch_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:

jobs:
sync:
if: github.repository_owner == 'cylc' || github.event_name != 'schedule'
uses: cylc/release-actions/.github/workflows/branch-sync.yml@v1
with:
head_branch: ${{ inputs.head_branch }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ concurrency:

jobs:
test_conda_install:
if: github.repository_owner == 'cylc' || github.event_name != 'schedule'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down

0 comments on commit 1cd9e23

Please sign in to comment.