diff options
| author | Adam Hosker <[email protected]> | 2025-12-21 17:32:00 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-21 11:32:00 -0600 |
| commit | 3d6f62746a03e132a4f7b24e868ff481d46c933d (patch) | |
| tree | f5cb9044e9461bb04da09abbbfdf4cfada61a6ed /.github | |
| parent | 2f48c8c05f7098b488834104397ba529d20dc7c1 (diff) | |
| download | opencode-3d6f62746a03e132a4f7b24e868ff481d46c933d.tar.gz opencode-3d6f62746a03e132a4f7b24e868ff481d46c933d.zip | |
fix: prevent stats workflow from running on forks (#5897)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/stats.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/stats.yml b/.github/workflows/stats.yml index 97e924517..57e93642b 100644 --- a/.github/workflows/stats.yml +++ b/.github/workflows/stats.yml @@ -5,8 +5,11 @@ on: - cron: "0 12 * * *" # Run daily at 12:00 UTC workflow_dispatch: # Allow manual trigger +concurrency: ${{ github.workflow }}-${{ github.ref }} + jobs: stats: + if: github.repository == 'sst/opencode' runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: write |
