forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8,285 changed files
with
127,041 additions
and
147,844 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,13 @@ | |
// can be added it this list. | ||
|
||
module.exports = [ | ||
'actions/cache@70655ec8323daeeaa7ef06d7c56e1b9191396cbe', | ||
'actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16', | ||
'actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675', | ||
'actions/github-script@5d03ada4b0a753e9460b312e61cc4f8fdeacf163', | ||
'actions/github-script@6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45', | ||
'actions/github-script@44b873bc975058192f5279ebe7579496381f575d', | ||
'actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9', | ||
'actions/labeler@5f867a63be70efff62b767459b009290364495eb', | ||
'actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d', | ||
'actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526', | ||
'actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8', | ||
'actions/cache@0781355a23dac32fd3bac414512f4b903437991a', //actions/cache@v2.1.3 | ||
'actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f', //actions/checkout@v2.3.4 | ||
'actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9', //actions/script@v3.0.0 | ||
'actions/labeler@5f867a63be70efff62b767459b009290364495eb', //actions/labeler@v2.2.0 | ||
'actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d', //actions/[email protected] | ||
'actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526', //actions/[email protected] | ||
'actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4', //actions/stale@v3.0.13 | ||
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688', | ||
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911', | ||
'docker://chinthakagodawita/autoupdate-action:v1', | ||
|
@@ -31,7 +27,7 @@ module.exports = [ | |
'rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9', | ||
'rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e', | ||
'repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88', | ||
'repo-sync/pull-request@ea6773388b83b337e4da9a223293309f2c3670e7', | ||
'repo-sync/pull-request@33777245b1aace1a58c87a29c90321aa7a74bd7d', | ||
'rtCamp/action-slack-notify@e17352feaf9aee300bf0ebc1dfbf467d80438815', | ||
'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: (Dry run) Algolia | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
updateIndices: | ||
name: (Dry run) Update indices | ||
if: github.repository == 'github/docs-internal' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f | ||
- uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d | ||
with: | ||
node-version: 14.x | ||
- name: cache node modules | ||
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: npm ci | ||
run: npm ci | ||
- name: (Dry run) sync indices | ||
env: | ||
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }} | ||
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npm run sync-search-dry-run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Lint JS | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches-ignore: | ||
- translations | ||
|
||
jobs: | ||
see_if_should_skip: | ||
runs-on: ubuntu-latest | ||
|
||
outputs: | ||
should_skip: ${{ steps.skip_check.outputs.should_skip }} | ||
steps: | ||
- id: skip_check | ||
uses: fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289 | ||
with: | ||
cancel_others: 'false' | ||
github_token: ${{ github.token }} | ||
paths: '["**/*.js", "package*.json", ".github/workflows/js-lint.yml"]' | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
needs: see_if_should_skip | ||
if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }} | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d | ||
with: | ||
node-version: 14.x | ||
|
||
- name: Get npm cache directory | ||
id: npm-cache | ||
run: | | ||
echo "::set-output name=dir::$(npm config get cache)" | ||
- name: Cache node modules | ||
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a | ||
with: | ||
path: ${{ steps.npm-cache.outputs.dir }} | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run linter | ||
run: npx standard | ||
|
||
- name: Check dependencies | ||
run: npm run check-deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Repo Freeze Reminders | ||
|
||
on: | ||
schedule: | ||
- cron: "00 11 * * *" # once per day around 11:00am UTC | ||
|
||
env: | ||
FREEZE: ${{ secrets.FREEZE }} | ||
|
||
jobs: | ||
check-freezer: | ||
name: Remind about deployment freezes | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'github/docs-internal' | ||
steps: | ||
|
||
- name: Send Slack notification if repo is frozen | ||
if: ${{ env.FREEZE == 'true' }} | ||
uses: rtCamp/action-slack-notify@e17352feaf9aee300bf0ebc1dfbf467d80438815 | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.DOCS_ALERTS_SLACK_WEBHOOK }} | ||
SLACK_USERNAME: docs-repo-sync | ||
SLACK_ICON_EMOJI: ':freezing_face:' | ||
SLACK_COLOR: '#51A0D5' # Carolina Blue | ||
SLACK_MESSAGE: All repo-sync runs will fail for ${{ github.repository }} because the repo is currently frozen! |
Oops, something went wrong.