Skip to content

Commit

Permalink
Merge pull request #17351 from victoryforce/github-actions-run-limiter
Browse files Browse the repository at this point in the history
Don't run GitHub actions in forks
  • Loading branch information
TurboGit committed Aug 23, 2024
2 parents d9c69f7 + 21c0951 commit 9c53167
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-po.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ permissions:

jobs:
po-check:
if: github.repository == 'darktable-org/darktable' || github.event_name == 'workflow_dispatch'
name: Check the PO files for correctness
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ permissions:
jobs:

Linux:
if: github.repository == 'darktable-org/darktable' || github.event_name == 'workflow_dispatch'
name: Linux.${{ matrix.distro }}.${{ matrix.compiler.compiler }}.${{ matrix.btype }}
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -232,6 +233,7 @@ jobs:
./run.sh --no-opencl --no-deltae --fast-fail
Windows:
if: github.repository == 'darktable-org/darktable' || github.event_name == 'workflow_dispatch'
name: Windows.${{ matrix.msystem }}.${{ matrix.btype }}
runs-on: windows-latest
strategy:
Expand Down Expand Up @@ -344,6 +346,7 @@ jobs:
--conf plugins/lighttable/export/iccintent=0
macOS:
if: github.repository == 'darktable-org/darktable' || github.event_name == 'workflow_dispatch'
name: macOS.${{ matrix.build.os }}.${{ matrix.compiler.compiler }}.${{ matrix.build.xcode }}.${{ matrix.btype }}
runs-on: ${{ matrix.build.os }}
strategy:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:

jobs:
stale:
if: github.repository == 'darktable-org/darktable' || github.event_name == 'workflow_dispatch'

permissions:
issues: write # for actions/stale to close stale issues
Expand Down

0 comments on commit 9c53167

Please sign in to comment.