Skip to content

Commit ac9306f

Browse files
authored
repo sync
2 parents 9c579c3 + 8498438 commit ac9306f

11 files changed

Lines changed: 12 additions & 3 deletions

.github/workflows/60-days-stale-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
stale:
8+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4

.github/workflows/automerge-dependencies.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414

1515
jobs:
1616
run:
17+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
1718
runs-on: ubuntu-latest
1819
steps:
1920
- uses: tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
jobs:
2121
automerge:
2222
runs-on: ubuntu-latest
23-
if: contains(github.event.pull_request.labels.*.name, 'automerge') || contains(github.event.pull_request.labels.*.name, 'autosquash')
23+
if: (contains(github.event.pull_request.labels.*.name, 'automerge') || contains(github.event.pull_request.labels.*.name, 'autosquash')) && (github.repository == 'github/docs-internal' || github.repository == 'github/docs')
2424
steps:
2525
- name: automerge
2626
uses: 'pascalgn/automerge-action@c9bd182'

.github/workflows/autoupdate-branch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- main
66
jobs:
77
autoupdate:
8+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
89
name: autoupdate
910
runs-on: ubuntu-18.04
1011
steps:

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111

1212
jobs:
1313
build:
14+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
1415
runs-on: ubuntu-latest
15-
1616
steps:
1717
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
1818
- uses: github/codeql-action/init@v1

.github/workflows/pa11y.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- cron: '25 17 * * *' # once a day at 17:25 UTC / 11:50 PST
66
jobs:
77
test:
8+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
89
runs-on: ubuntu-latest
910
steps:
1011
- name: Check out repo

.github/workflows/repo-freeze-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616

1717
jobs:
1818
check-freezer:
19+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
1920
name: Prevent merging during deployment freezes
2021
runs-on: ubuntu-latest
2122
steps:

.github/workflows/repo-sync-stalls.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
repo-sync-stalls:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- name: Check if repo sync is stalled
19+
- if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
20+
name: Check if repo sync is stalled
2021
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
2122
with:
2223
github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}

.github/workflows/repo-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
exit 1 # prevents further steps from running
2727
2828
repo-sync:
29+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
2930
name: Repo Sync
3031
needs: check-freezer
3132
runs-on: ubuntu-latest

.github/workflows/site-policy-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
jobs:
1717
# This workflow contains a single job called "build"
1818
copy-file:
19+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
1920
# The type of runner that the job will run on
2021
runs-on: ubuntu-latest
2122

0 commit comments

Comments
 (0)