Skip to content

Commit bbbe283

Browse files
authored
Merge pull request #36993 from github/repo-sync
Repo sync
2 parents e7c93f3 + ea328a6 commit bbbe283

File tree

16 files changed

+51
-24
lines changed

16 files changed

+51
-24
lines changed

.github/workflows/validate-github-github-docs-urls.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ jobs:
3535
steps:
3636
- name: Check out repo's default branch
3737
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
38-
with:
39-
# Picking this number is a "best guess". If we make it too large,
40-
# the checkout will take potentially unnecessariily long.
41-
# This reduces the chance that tj-actions/changed-files has to
42-
# fetch deeper history. But if it needs to, it will.
43-
fetch-depth: 10
44-
4538
- uses: ./.github/actions/node-npm-setup
4639

4740
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -108,23 +101,20 @@ jobs:
108101
# First, gather the URLs that were relevant
109102
- name: Get changed content/data files
110103
if: ${{ github.event_name == 'pull_request' }}
111-
id: changed-files
112-
uses: tj-actions/changed-files@40853de9f8ce2d6cfdc73c1b96f14e22ba44aec4 # v45.0.0
104+
id: changed_files
105+
uses: ./.github/actions/get-changed-files
113106
with:
114-
# No need to escape the file names because we make the output of
115-
# tj-actions/changed-files be set as an environment variable. Not
116-
# as a direct input to the line of bash that uses it.
117-
safe_output: false
118107
files: |
119108
content/**
109+
token: ${{ secrets.GITHUB_TOKEN }}
120110

121111
- name: Generate PR comment
122-
if: ${{ github.event_name == 'pull_request' && steps.changed-files.outputs.any_changed == 'true' }}
112+
if: ${{ github.event_name == 'pull_request' && steps.changed_files.outputs.filtered_changed_files }}
123113
env:
124114
# Make it an environment variable so that its value doesn't need to be escaped.
125115
# See https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
126116
CHANGED_FILES: |-
127-
${{ steps.changed-files.outputs.all_changed_files }}
117+
${{ steps.changed_files.outputs.filtered_changed_files }}
128118
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
129119
ISSUE_NUMBER: ${{ github.event.pull_request.number }}
130120
REPOSITORY: ${{ github.repository }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# ---------------------------------------------------------------
99
# To update the sha:
1010
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
11-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250312-190108-g24a349a95 AS base
11+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250319-193531-g83d4e6244 AS base
1212

1313
# Install curl for Node install and determining the early access branch
1414
# Install git for cloning docs-early-access & translations repos
797 KB
Loading
566 KB
Loading
315 KB
Loading
294 KB
Loading
600 KB
Loading
470 KB
Loading
405 KB
Loading
906 KB
Loading

0 commit comments

Comments
 (0)