Skip to content
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # pin @3.5.2
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # pin @3.5.2

# 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 @@ -96,14 +96,14 @@ jobs:

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

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

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

- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
name: Check out user code to temp directory
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Get preview app info
env:
Expand Down
4 changes: 2 additions & 2 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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
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/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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
ref: ${{ env.COMMIT_REF }}
# To prevent issues with cloning early access content later
Expand All @@ -80,7 +80,7 @@ jobs:
cache: npm

- name: Clone docs-early-access
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
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/check-broken-links-github-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
exit 1 # prevents further steps from running

- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
# To prevent issues with cloning early access content later
persist-credentials: 'false'
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: github/codeql-action/init@32dc499307d133bb5085bae78498c0ac2cf762d5
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Setup Node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dont-delete-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/node-npm-setup

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 @@ -38,7 +38,7 @@ jobs:
exit 1 # prevents further steps from running

- name: Checkout repository code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # pin @3.5.2
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # pin @3.5.2

- uses: ./.github/actions/node-npm-setup

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/headless-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/setup-elasticsearch

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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/node-npm-setup

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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/node-npm-setup

Expand All @@ -37,7 +37,7 @@ jobs:

- name: Check out docs-early-access too, if internal repo
if: ${{ github.repository == 'github/docs-internal' }}
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
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/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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/node-npm-setup

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

- uses: ./.github/actions/node-npm-setup

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

- uses: ./.github/actions/node-npm-setup

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,14 +45,14 @@ jobs:
uses: docker/setup-buildx-action@95cb08cb2672c73d4ffd2f422e6d11953d2a9c70

- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
# To prevent issues with cloning early access content later
persist-credentials: 'false'

- if: ${{ env.ENABLE_EARLY_ACCESS }}
name: Clone docs-early-access
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/node-npm-setup

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-about-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/node-npm-setup

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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/node-npm-setup

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
2 changes: 1 addition & 1 deletion .github/workflows/orphaned-assets-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout English repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
# 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.)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/os-ready-for-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
exit 1

- name: Check out repo content
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Setup Node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-lock-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
steps:
- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Setup Node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/purge-fastly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/node-npm-setup

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ready-for-doc-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo content
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Setup Node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Sync repo to branch
uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/site-policy-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout docs-internal
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: checkout public site-policy
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/site-policy
token: ${{ secrets.API_TOKEN_SITEPOLICY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-codeql-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
exit 1 # prevents further steps from running

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

# Check out a nested repository inside of previous checkout
- name: Checkout semmle-code repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
# By default, only the most recent commit of the `main` branch
# will be checked out
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
echo 'The repo is currently frozen! Exiting this workflow.'
exit 1 # prevents further steps from running
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: ./.github/actions/node-npm-setup
- name: Run updater scripts
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
exit 1 # prevents further steps from running

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

# Check out a nested repository inside of previous checkout
- name: Checkout rest-api-description repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
# By default, only the most recent commit of the `main` branch
# will be checked out
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-search-elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ jobs:
exit 1 # prevents further steps from running

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

- name: Clone docs-internal.popular-pages
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.popular-pages
# This works because user `docubot` has read access to that private repo.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-search-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
steps:
- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- name: Clone docs-internal.popular-pages
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
repository: github/docs-internal.popular-pages
# This works because user `docubot` has read access to that private repo.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# 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
- name: Check out repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608

- uses: ./.github/actions/setup-elasticsearch
if: ${{ matrix.name == 'search' || matrix.name == 'translations' }}
Expand Down
Loading