Skip to content

Commit 697d80d

Browse files
authored
chore: configure some actions to be skipped for forks (#2005)
* chore: configure some actions to be skipped for forks * chore: build docs only when it changes
1 parent 757defa commit 697d80d

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

.github/workflows/docs-deploy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
tags:
1212
# Stable release tags
1313
- v[0-9]+.[0-9]+.[0-9]+
14+
paths:
15+
- 'docs/**'
16+
- 'mkdocs.yml'
1417
workflow_dispatch:
1518

1619
jobs:

.github/workflows/gh-actions-updater.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
jobs:
99
build:
10+
if: github.repository == 'juanfont/headscale'
1011
runs-on: ubuntu-latest
1112

1213
steps:

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
goreleaser:
12+
if: github.repository == 'juanfont/headscale'
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: Checkout

.github/workflows/stale.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
close-issues:
9+
if: github.repository == 'juanfont/headscale'
910
runs-on: ubuntu-latest
1011
permissions:
1112
issues: write

.github/workflows/update-flake.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
lockfile:
9+
if: github.repository == 'juanfont/headscale'
910
runs-on: ubuntu-latest
1011
steps:
1112
- name: Checkout repository

0 commit comments

Comments
 (0)