diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index b3933548..3ea343f8 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -11,6 +11,9 @@ on: tags: # Stable release tags - v[0-9]+.[0-9]+.[0-9]+ + paths: + - 'docs/**' + - 'mkdocs.yml' workflow_dispatch: jobs: 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 592929cb..e6e5d511 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