diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c5cddef7..48dc66e2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,6 +13,7 @@ permissions: jobs: build: + if: github.repository == 'juanfont/headscale' runs-on: ubuntu-latest steps: - name: Checkout repository @@ -36,6 +37,7 @@ jobs: path: ./site deploy: + if: github.repository == 'juanfont/headscale' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/.github/workflows/gh-actions-updater.yaml b/.github/workflows/gh-actions-updater.yaml index 48d0fabd..f46fb67c 100644 --- a/.github/workflows/gh-actions-updater.yaml +++ b/.github/workflows/gh-actions-updater.yaml @@ -7,6 +7,7 @@ on: jobs: build: + if: github.repository == 'juanfont/headscale' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3554677f..d2488ff7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ on: jobs: goreleaser: + if: github.repository == 'juanfont/headscale' runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index f7c4ae75..481535a8 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -6,6 +6,7 @@ on: jobs: close-issues: + if: github.repository == 'juanfont/headscale' runs-on: ubuntu-latest permissions: issues: write diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml index c04bb9cc..35067784 100644 --- a/.github/workflows/update-flake.yml +++ b/.github/workflows/update-flake.yml @@ -6,6 +6,7 @@ on: jobs: lockfile: + if: github.repository == 'juanfont/headscale' runs-on: ubuntu-latest steps: - name: Checkout repository