Skip to content

Commit 30cdb31

Browse files
authored
Allow repo sync in public repo (#16746)
* Allow repo sync in public repo * Update repository-references.js * Update lint-files.js
1 parent 44ccfc2 commit 30cdb31

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/close-unwanted-pull-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- 'lib/webhooks/**'
1313
jobs:
1414
close_unwanted_pull_requests:
15-
if: github.repository == 'github/docs'
15+
if: github.repository == 'github/docs' && github.event.pull_request.user.login != 'Octomerger'
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9

tests/content/lint-files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const oldExtendedMarkdownErrorText = 'Found extended markdown tags with the old
148148
describe('lint-files', () => {
149149
const mdWalkOptions = {
150150
globs: ['**/*.md'],
151-
ignore: ['**/README.md'],
151+
ignore: ['**/README.md', 'early-access'],
152152
directories: false,
153153
includeBasePath: true
154154
}

tests/meta/repository-references.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ describe('check for repository references', () => {
4141
'dist',
4242
'node_modules',
4343
'translations',
44+
'content/early-access',
4445
'lib/rest/**/*.json',
4546
'lib/webhooks/**/*.json',
4647
'ownership.yaml',

0 commit comments

Comments
 (0)