Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/checkout from 3 to 4 #424

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/add-review-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

# Jump through some hoops to work with a multi-line file
- name: Store review template in variable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/azure-preview-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ jobs:

- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
name: Check out main branch
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
ref: 'main'
persist-credentials: 'false'
lfs: 'true'

- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
name: Check out PR code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
ref: ${{ env.COMMIT_REF }}
# To prevent issues with cloning early access content later
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:

- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
name: Clone docs-early-access
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
Expand All @@ -154,7 +154,7 @@ jobs:

- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
name: Check out user code to temp directory
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
path: ./user-code
ref: ${{ env.COMMIT_REF }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure-preview-env-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
creds: ${{ secrets.NONPROD_AZURE_CREDENTIALS }}

- name: Check out repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Get preview app info
env:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/azure-prod-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: docker/setup-buildx-action@95cb08cb2672c73d4ffd2f422e6d11953d2a9c70

- name: Check out repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
ref: ${{ github.sha }}
# To prevent issues with cloning early access content later
Expand All @@ -62,7 +62,7 @@ jobs:
cache: npm

- name: Clone docs-early-access
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
Expand All @@ -72,56 +72,56 @@ jobs:
run: .github/actions-scripts/merge-early-access.sh

- name: Clone Simplified Chinese
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.zh-cn
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: translations/zh-cn

- name: Clone Japanese
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.ja-jp
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: translations/ja-jp

- name: Clone Spanish
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.es-es
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: translations/es-es

- name: Clone Portuguese
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.pt-br
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: translations/pt-br

- name: Clone German
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.de-de
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: translations/de-de

- name: Clone French
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.fr-fr
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: translations/fr-fr

- name: Clone Russian
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.ru-ru
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: translations/ru-ru

- name: Clone Korean
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.ko-kr
token: ${{ secrets.DOCUBOT_REPO_PAT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/azure-staging-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
uses: docker/setup-buildx-action@95cb08cb2672c73d4ffd2f422e6d11953d2a9c70

- name: Check out repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
ref: ${{ env.COMMIT_REF }}
# To prevent issues with cloning early access content later
Expand All @@ -84,7 +84,7 @@ jobs:
cache: npm

- name: Clone docs-early-access
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/browser-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
discovery type: 'single-node'

- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
lfs: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-broken-links-github-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
exit 1 # prevents further steps from running

- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
# To prevent issues with cloning early access content later
persist-credentials: 'false'

- name: Clone docs-early-access
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Cache node_modules
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: github/codeql-action/init@1ed1437484560351c5be56cf73a48a279d116b78
with:
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp, ruby}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/content-changes-table-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
PR_NUMBER: ${{ github.event.pull_request.number }}
steps:
- name: check out repo content
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Get preview app info
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-review-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Check out repo content
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Setup Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enterprise-dates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
exit 1 # prevents further steps from running

- name: Checkout repository code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Setup Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generator-generic-ossf-slsa3-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
digests: ${{ steps.hash.outputs.digests }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

# ========================================================
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/keep-caches-warm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
steps:
- name: Check out repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Cache node_modules
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/link-check-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: gh --version

- name: Check out repo's default branch
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: Setup Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
Expand All @@ -43,7 +43,7 @@ jobs:

- name: Check out docs-early-access too, if internal repo
if: ${{ github.repository == 'github/docs-internal' }}
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/link-check-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Cache node_modules
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
Expand All @@ -53,7 +53,7 @@ jobs:

- name: Check out docs-early-access too, if internal repo
if: ${{ github.repository == 'github/docs-internal' }}
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-preview-docker-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: docker/setup-buildx-action@95cb08cb2672c73d4ffd2f422e6d11953d2a9c70

- name: Check out repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
# To prevent issues with cloning early access content later
persist-credentials: 'false'
Expand All @@ -56,7 +56,7 @@ jobs:

- if: ${{ env.ENABLE_EARLY_ACCESS }}
name: Clone docs-early-access
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manually-purge-fastly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Check out repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Install dependencies
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/msft-create-translation-batch-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- run: git config --global user.email "67483024+docubot@users.noreply.github.com"

- name: Checkout the docs-internal repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
fetch-depth: 0
lfs: true
Expand All @@ -89,7 +89,7 @@ jobs:
git rm -rf --quiet ${{ matrix.language_dir }}/data

- name: Checkout the language-specific repo
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: ${{ matrix.language_repo }}
token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/open-enterprise-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Setup Node
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openapi-decorate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
add-labels: 'github-openapi-bot'

- name: Checkout repository code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
# actions/checkout by default will leave you in a detached head state
# so we need to specify the PR head ref explicitly since we're making
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/optimize-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo on head ref
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
ref: ${{ github.head_ref }}
# Need to specify a PAT here because otherwise GITHUB_TOKEN is used
Expand Down
Loading
Loading