Upgrade actions/checkout to v4.1.1 (#49390)
This commit is contained in:
16
.github/actions/clone-translations/action.yml
vendored
16
.github/actions/clone-translations/action.yml
vendored
@@ -11,56 +11,56 @@ runs:
|
|||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Simplified Chinese
|
- name: Clone Simplified Chinese
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.zh-cn
|
repository: github/docs-internal.zh-cn
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
path: translations/zh-cn
|
path: translations/zh-cn
|
||||||
|
|
||||||
- name: Clone Spanish
|
- name: Clone Spanish
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.es-es
|
repository: github/docs-internal.es-es
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
path: translations/es-es
|
path: translations/es-es
|
||||||
|
|
||||||
- name: Clone Portuguese
|
- name: Clone Portuguese
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.pt-br
|
repository: github/docs-internal.pt-br
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
path: translations/pt-br
|
path: translations/pt-br
|
||||||
|
|
||||||
- name: Clone Russian
|
- name: Clone Russian
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.ru-ru
|
repository: github/docs-internal.ru-ru
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
path: translations/ru-ru
|
path: translations/ru-ru
|
||||||
|
|
||||||
- name: Clone Japanese
|
- name: Clone Japanese
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.ja-jp
|
repository: github/docs-internal.ja-jp
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
path: translations/ja-jp
|
path: translations/ja-jp
|
||||||
|
|
||||||
- name: Clone French
|
- name: Clone French
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.fr-fr
|
repository: github/docs-internal.fr-fr
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
path: translations/fr-fr
|
path: translations/fr-fr
|
||||||
|
|
||||||
- name: Clone German
|
- name: Clone German
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.de-de
|
repository: github/docs-internal.de-de
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
path: translations/de-de
|
path: translations/de-de
|
||||||
|
|
||||||
- name: Clone Korean
|
- name: Clone Korean
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.ko-kr
|
repository: github/docs-internal.ko-kr
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ runs:
|
|||||||
run: node src/early-access/scripts/what-docs-early-access-branch.js
|
run: node src/early-access/scripts/what-docs-early-access-branch.js
|
||||||
|
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-early-access
|
repository: github/docs-early-access
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
|
|||||||
2
.github/workflows/add-review-template.yml
vendored
2
.github/workflows/add-review-template.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
# Jump through some hoops to work with a multi-line file
|
# Jump through some hoops to work with a multi-line file
|
||||||
- name: Store review template in variable
|
- name: Store review template in variable
|
||||||
|
|||||||
@@ -90,14 +90,14 @@ jobs:
|
|||||||
|
|
||||||
- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
|
- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
|
||||||
name: Check out main branch
|
name: Check out main branch
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
ref: 'main'
|
ref: 'main'
|
||||||
persist-credentials: 'false'
|
persist-credentials: 'false'
|
||||||
|
|
||||||
- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
|
- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
|
||||||
name: Check out PR code
|
name: Check out PR code
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.COMMIT_REF }}
|
ref: ${{ env.COMMIT_REF }}
|
||||||
# To prevent issues with cloning early access content later
|
# To prevent issues with cloning early access content later
|
||||||
@@ -145,7 +145,7 @@ jobs:
|
|||||||
|
|
||||||
- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
|
- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
|
||||||
name: Clone docs-early-access
|
name: Clone docs-early-access
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-early-access
|
repository: github/docs-early-access
|
||||||
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||||
@@ -178,7 +178,7 @@ jobs:
|
|||||||
|
|
||||||
- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
|
- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
|
||||||
name: Check out user code to temp directory
|
name: Check out user code to temp directory
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
path: ./user-code
|
path: ./user-code
|
||||||
ref: ${{ env.COMMIT_REF }}
|
ref: ${{ env.COMMIT_REF }}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
creds: ${{ secrets.NONPROD_AZURE_CREDENTIALS }}
|
creds: ${{ secrets.NONPROD_AZURE_CREDENTIALS }}
|
||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Get preview app info
|
- name: Get preview app info
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
|
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
|
||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.sha }}
|
ref: ${{ github.sha }}
|
||||||
# To prevent issues with cloning early access content later
|
# To prevent issues with cloning early access content later
|
||||||
@@ -65,7 +65,7 @@ jobs:
|
|||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Clone docs-early-access
|
- name: Clone docs-early-access
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-early-access
|
repository: github/docs-early-access
|
||||||
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
|
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
|
||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.COMMIT_REF }}
|
ref: ${{ env.COMMIT_REF }}
|
||||||
# To prevent issues with cloning early access content later
|
# To prevent issues with cloning early access content later
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Clone docs-early-access
|
- name: Clone docs-early-access
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-early-access
|
repository: github/docs-early-access
|
||||||
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
REPORT_REPOSITORY: github/docs-content
|
REPORT_REPOSITORY: github/docs-content
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
# To prevent issues with cloning early access content later
|
# To prevent issues with cloning early access content later
|
||||||
persist-credentials: 'false'
|
persist-credentials: 'false'
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() && github.event_name != 'pull_request_target' }}
|
if: ${{ failure() && github.event_name != 'pull_request_target' }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() && github.event_name != 'pull_request_target' }}
|
if: ${{ failure() && github.event_name != 'pull_request_target' }}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Add Content Strategy as a reviewer
|
- name: Add Content Strategy as a reviewer
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Label as engineering
|
- name: Label as engineering
|
||||||
run: gh pr edit $PR --add-label engineering
|
run: gh pr edit $PR --add-label engineering
|
||||||
|
|||||||
2
.github/workflows/codeowners-legal.yml
vendored
2
.github/workflows/codeowners-legal.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
|
|||||||
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: github/codeql-action/init@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
|
- uses: github/codeql-action/init@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
|
||||||
with:
|
with:
|
||||||
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp, ruby}
|
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp, ruby}
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() && github.event_name != 'pull_request_target' }}
|
if: ${{ failure() && github.event_name != 'pull_request_target' }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() && github.event_name != 'pull_request_target' }}
|
if: ${{ failure() && github.event_name != 'pull_request_target' }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
PR_NUMBER: ${{ github.event.pull_request.number || inputs.PR_NUMBER }}
|
PR_NUMBER: ${{ github.event.pull_request.number || inputs.PR_NUMBER }}
|
||||||
steps:
|
steps:
|
||||||
- name: check out repo content
|
- name: check out repo content
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Get preview app info
|
- name: Get preview app info
|
||||||
env:
|
env:
|
||||||
|
|||||||
2
.github/workflows/content-lint-markdown.yml
vendored
2
.github/workflows/content-lint-markdown.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
|
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
# Picking this number is a "best guess". If we make it too large,
|
# Picking this number is a "best guess". If we make it too large,
|
||||||
# the checkout will take potentially unnecessariily long.
|
# the checkout will take potentially unnecessariily long.
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() && github.event_name != 'workflow_dispatch' && github.repository == 'github/docs-internal' }}
|
if: ${{ failure() && github.event_name != 'workflow_dispatch' && github.repository == 'github/docs-internal' }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() && github.event_name != 'workflow_dispatch' && github.repository == 'github/docs-internal' }}
|
if: ${{ failure() && github.event_name != 'workflow_dispatch' && github.repository == 'github/docs-internal' }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -60,10 +60,10 @@ jobs:
|
|||||||
language_repo: github/docs-internal.ko-kr
|
language_repo: github/docs-internal.ko-kr
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Checkout the language-specific repo
|
- name: Checkout the language-specific repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: ${{ matrix.language_repo }}
|
repository: ${{ matrix.language_repo }}
|
||||||
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||||
|
|||||||
2
.github/workflows/docs-review-collect.yml
vendored
2
.github/workflows/docs-review-collect.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo content
|
- name: Check out repo content
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
||||||
|
|||||||
2
.github/workflows/dont-delete-assets.yml
vendored
2
.github/workflows/dont-delete-assets.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/enterprise-dates.yml
vendored
2
.github/workflows/enterprise-dates.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository code
|
- name: Checkout repository code
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Check if the event originated from a team member
|
- name: Check if the event originated from a team member
|
||||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Remove card from project
|
- name: Remove card from project
|
||||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||||
|
|||||||
@@ -25,12 +25,12 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04-xl
|
runs-on: ubuntu-20.04-xl
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository code
|
- name: Checkout repository code
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
- name: Checkout codeql repo
|
- name: Checkout codeql repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/codeql
|
repository: github/codeql
|
||||||
path: codeql
|
path: codeql
|
||||||
|
|||||||
2
.github/workflows/headless-tests.yml
vendored
2
.github/workflows/headless-tests.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-elasticsearch
|
- uses: ./.github/actions/setup-elasticsearch
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- id: membership_check
|
- id: membership_check
|
||||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||||
|
|||||||
2
.github/workflows/keep-caches-warm.yml
vendored
2
.github/workflows/keep-caches-warm.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
|
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/link-check-daily.yml
vendored
4
.github/workflows/link-check-daily.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
run: gh --version
|
run: gh --version
|
||||||
|
|
||||||
- name: Check out repo's default branch
|
- name: Check out repo's default branch
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out docs-early-access too, if internal repo
|
- name: Check out docs-early-access too, if internal repo
|
||||||
if: ${{ github.repository == 'github/docs-internal' }}
|
if: ${{ github.repository == 'github/docs-internal' }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-early-access
|
repository: github/docs-early-access
|
||||||
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||||
|
|||||||
2
.github/workflows/link-check-on-pr.yml
vendored
2
.github/workflows/link-check-on-pr.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/lint-code.yml
vendored
2
.github/workflows/lint-code.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
|||||||
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
|
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
run: gh --version
|
run: gh --version
|
||||||
|
|
||||||
- name: Check out repo's default branch
|
- name: Check out repo's default branch
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Set up Node and dependencies
|
- name: Set up Node and dependencies
|
||||||
uses: ./.github/actions/node-npm-setup
|
uses: ./.github/actions/node-npm-setup
|
||||||
|
|||||||
2
.github/workflows/local-dev.yml
vendored
2
.github/workflows/local-dev.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
|
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|||||||
@@ -45,14 +45,14 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
|
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
|
||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
# To prevent issues with cloning early access content later
|
# To prevent issues with cloning early access content later
|
||||||
persist-credentials: 'false'
|
persist-credentials: 'false'
|
||||||
|
|
||||||
- if: ${{ env.ENABLE_EARLY_ACCESS }}
|
- if: ${{ env.ENABLE_EARLY_ACCESS }}
|
||||||
name: Clone docs-early-access
|
name: Clone docs-early-access
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-early-access
|
repository: github/docs-early-access
|
||||||
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||||
|
|||||||
2
.github/workflows/manually-purge-fastly.yml
vendored
2
.github/workflows/manually-purge-fastly.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/move-content.yml
vendored
2
.github/workflows/move-content.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/needs-sme-stale-check.yaml
vendored
2
.github/workflows/needs-sme-stale-check.yaml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/needs-sme-workflow.yml
vendored
4
.github/workflows/needs-sme-workflow.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
|
- uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
|
||||||
with:
|
with:
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
|
- uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/no-response.yaml
vendored
2
.github/workflows/no-response.yaml
vendored
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/open-enterprise-issue.yml
vendored
2
.github/workflows/open-enterprise-issue.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository code
|
- name: Checkout repository code
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/optimize-images.yml
vendored
2
.github/workflows/optimize-images.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo on head ref
|
- name: Check out repo on head ref
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
# Need to specify a PAT here because otherwise GITHUB_TOKEN is used
|
# Need to specify a PAT here because otherwise GITHUB_TOKEN is used
|
||||||
|
|||||||
2
.github/workflows/orphaned-assets-check.yml
vendored
2
.github/workflows/orphaned-assets-check.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout English repo
|
- name: Checkout English repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
# Using a PAT is necessary so that the new commit will trigger the
|
# Using a PAT is necessary so that the new commit will trigger the
|
||||||
# CI in the PR. (Events from GITHUB_TOKEN don't trigger new workflows.)
|
# CI in the PR. (Events from GITHUB_TOKEN don't trigger new workflows.)
|
||||||
|
|||||||
2
.github/workflows/os-ready-for-review.yml
vendored
2
.github/workflows/os-ready-for-review.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo content
|
- name: Check out repo content
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Check if this run was triggered by a member of the docs team
|
- name: Check if this run was triggered by a member of the docs team
|
||||||
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
|
||||||
|
|||||||
2
.github/workflows/package-lock-lint.yml
vendored
2
.github/workflows/package-lock-lint.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
||||||
|
|||||||
2
.github/workflows/purge-fastly.yml
vendored
2
.github/workflows/purge-fastly.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout out repo
|
- name: Checkout out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout out repo
|
- name: Checkout out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/ready-for-doc-review.yml
vendored
2
.github/workflows/ready-for-doc-review.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo content
|
- name: Check out repo content
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal
|
repository: github/docs-internal
|
||||||
token: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
|
token: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
|
||||||
|
|||||||
2
.github/workflows/repo-sync-stalls.yml
vendored
2
.github/workflows/repo-sync-stalls.yml
vendored
@@ -55,7 +55,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
|
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
|
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
|
||||||
|
|||||||
2
.github/workflows/repo-sync.yml
vendored
2
.github/workflows/repo-sync.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Sync repo to branch
|
- name: Sync repo to branch
|
||||||
uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88
|
uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
if: github.repository == 'github/docs-internal'
|
if: github.repository == 'github/docs-internal'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Label pull requests updating the secret-scanning.yml file with ready-for-doc-review
|
- name: Label pull requests updating the secret-scanning.yml file with ready-for-doc-review
|
||||||
run: gh pr edit $PR --add-label "ready-for-doc-review"
|
run: gh pr edit $PR --add-label "ready-for-doc-review"
|
||||||
|
|||||||
4
.github/workflows/site-policy-sync.yml
vendored
4
.github/workflows/site-policy-sync.yml
vendored
@@ -26,10 +26,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout docs-internal
|
- name: checkout docs-internal
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: checkout public site-policy
|
- name: checkout public site-policy
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/site-policy
|
repository: github/site-policy
|
||||||
token: ${{ secrets.API_TOKEN_SITEPOLICY }}
|
token: ${{ secrets.API_TOKEN_SITEPOLICY }}
|
||||||
|
|||||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/sync-audit-logs.yml
vendored
2
.github/workflows/sync-audit-logs.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/sync-codeql-cli.yml
vendored
4
.github/workflows/sync-codeql-cli.yml
vendored
@@ -30,11 +30,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository code
|
- name: Checkout repository code
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
# Check out a nested repository inside of previous checkout
|
# Check out a nested repository inside of previous checkout
|
||||||
- name: Checkout semmle-code repo
|
- name: Checkout semmle-code repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
# By default, only the most recent commit of the `main` branch
|
# By default, only the most recent commit of the `main` branch
|
||||||
# will be checked out
|
# will be checked out
|
||||||
|
|||||||
2
.github/workflows/sync-graphql.yml
vendored
2
.github/workflows/sync-graphql.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
- name: Run updater scripts
|
- name: Run updater scripts
|
||||||
env:
|
env:
|
||||||
|
|||||||
4
.github/workflows/sync-openapi.yml
vendored
4
.github/workflows/sync-openapi.yml
vendored
@@ -30,11 +30,11 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04-xl
|
runs-on: ubuntu-20.04-xl
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository code
|
- name: Checkout repository code
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
# Check out a nested repository inside of previous checkout
|
# Check out a nested repository inside of previous checkout
|
||||||
- name: Checkout rest-api-description repo
|
- name: Checkout rest-api-description repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
# By default, only the most recent commit of the `main` branch
|
# By default, only the most recent commit of the `main` branch
|
||||||
# will be checked out
|
# will be checked out
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
|
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
|
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
|
||||||
@@ -111,10 +111,10 @@ jobs:
|
|||||||
language: ${{ fromJSON(needs.figureOutMatrix.outputs.matrix) }}
|
language: ${{ fromJSON(needs.figureOutMatrix.outputs.matrix) }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Clone docs-internal.popular-pages
|
- name: Clone docs-internal.popular-pages
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.popular-pages
|
repository: github/docs-internal.popular-pages
|
||||||
# This works because user `docs-bot` has read access to that private repo.
|
# This works because user `docs-bot` has read access to that private repo.
|
||||||
|
|||||||
4
.github/workflows/sync-search-pr.yml
vendored
4
.github/workflows/sync-search-pr.yml
vendored
@@ -40,10 +40,10 @@ jobs:
|
|||||||
if: github.repository == 'github/docs-internal'
|
if: github.repository == 'github/docs-internal'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Clone docs-internal.popular-pages
|
- name: Clone docs-internal.popular-pages
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: github/docs-internal.popular-pages
|
repository: github/docs-internal.popular-pages
|
||||||
# This works because user `docs-bot` has read access to that private repo.
|
# This works because user `docs-bot` has read access to that private repo.
|
||||||
|
|||||||
2
.github/workflows/test-changed-content.yml
vendored
2
.github/workflows/test-changed-content.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
|
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
|
||||||
# Even if if doesn't do anything
|
# Even if if doesn't do anything
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
# See https://github.com/tj-actions/changed-files#on-pull_request-
|
# See https://github.com/tj-actions/changed-files#on-pull_request-
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -89,7 +89,7 @@ jobs:
|
|||||||
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
|
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
|
||||||
# Even if if doesn't do anything
|
# Even if if doesn't do anything
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-elasticsearch
|
- uses: ./.github/actions/setup-elasticsearch
|
||||||
if: ${{ matrix.name == 'search' || matrix.name == 'languages' }}
|
if: ${{ matrix.name == 'search' || matrix.name == 'languages' }}
|
||||||
|
|||||||
2
.github/workflows/triage-issue-comments.yml
vendored
2
.github/workflows/triage-issue-comments.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/triage-stale-check.yml
vendored
4
.github/workflows/triage-stale-check.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- uses: ./.github/actions/slack-alert
|
- uses: ./.github/actions/slack-alert
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Get files changed
|
- name: Get files changed
|
||||||
uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd
|
uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd
|
||||||
|
|||||||
2
.github/workflows/validate-asset-images.yml
vendored
2
.github/workflows/validate-asset-images.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- uses: ./.github/actions/node-npm-setup
|
- uses: ./.github/actions/node-npm-setup
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user