diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-08-28 18:05:29 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-08-28 18:05:29 +0300 |
| commit | 13a9f6402fb77a31499bf758b56ca42b79936706 (patch) | |
| tree | 316d09503e8ac6fe05084be3800c15920a200271 /.github/workflows/release.yml | |
| parent | c5051933f812a07e8014cd11dde2e2caac3af84c (diff) | |
ci: restrict release workflows to canonical repository
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1318e138..a7cc3558 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,7 @@ env: jobs: flake-check: + if: github.repository == 'herdrdev/herdr' runs-on: ubuntu-latest permissions: contents: read @@ -36,6 +37,7 @@ jobs: nix flake check --all-systems --no-build --print-build-logs build: + if: github.repository == 'herdrdev/herdr' permissions: contents: read strategy: @@ -181,6 +183,7 @@ jobs: path: ${{ matrix.name }} validate-release-inputs: + if: github.repository == 'herdrdev/herdr' runs-on: ubuntu-latest permissions: contents: read @@ -204,6 +207,7 @@ jobs: release: needs: [build, flake-check, validate-release-inputs] + if: github.repository == 'herdrdev/herdr' runs-on: ubuntu-latest permissions: contents: write @@ -232,6 +236,7 @@ jobs: close-released-issues: needs: release + if: github.repository == 'herdrdev/herdr' runs-on: ubuntu-latest continue-on-error: true permissions: @@ -368,6 +373,7 @@ jobs: update-latest-json: needs: release + if: github.repository == 'herdrdev/herdr' runs-on: ubuntu-latest concurrency: group: docs-publish-master |
