Skip to content

Commit 2213b46

Browse files
authored
Merge branch 'main' into update-autofix-docs-python-support
2 parents 77dafbc + 39e0b26 commit 2213b46

File tree

425 files changed

+1646
-138920
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

425 files changed

+1646
-138920
lines changed

.github/actions/slack-alert/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
using: composite
1414
steps:
1515
- name: Send Slack notification if workflow fails
16-
uses: someimportantcompany/github-actions-slack-message@1d367080235edfa53df415bd8e0bbab480f29bad
16+
uses: someimportantcompany/github-actions-slack-message@a975b440de2bcef178d451cc70d4c1161b5a30cd
1717
with:
1818
channel: ${{ inputs.slack_channel_id }}
1919
bot-token: ${{ inputs.slack_token }}

.github/workflows/azure-preview-env-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
steps:
7676
- name: 'Az CLI login'
77-
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # pin @v1.4.6
77+
uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # pin @v1.6.1
7878
with:
7979
creds: ${{ secrets.NONPROD_AZURE_CREDENTIALS }}
8080

.github/workflows/azure-preview-env-destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: 'Az CLI login'
39-
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # pin @v1.4.6
39+
uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # pin @v1.6.1
4040
with:
4141
creds: ${{ secrets.NONPROD_AZURE_CREDENTIALS }}
4242

.github/workflows/azure-prod-build-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: 'Az CLI login'
40-
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # pin @v1.4.6
40+
uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # pin @v1.6.1
4141
with:
4242
creds: ${{ secrets.PROD_AZURE_CREDENTIALS }}
4343

.github/workflows/azure-staging-build-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: 'Az CLI login'
48-
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # pin @v1.4.6
48+
uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # pin @v1.6.1
4949
with:
5050
creds: ${{ secrets.PROD_AZURE_CREDENTIALS }}
5151

.github/workflows/codeowners-legal.yml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ name: Codeowners - Legal
55
# **Who does it impact**: Content writers and the GitHub legal team.
66

77
on:
8+
workflow_dispatch:
89
pull_request:
910
types:
1011
- edited
@@ -27,40 +28,31 @@ jobs:
2728
github.event.pull_request.head.ref != 'repo-sync' }}
2829
runs-on: ubuntu-latest
2930
steps:
30-
- name: Get files changed
31-
uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd
32-
id: filter
33-
with:
34-
# Base branch used to get changed files
35-
base: 'main'
36-
37-
# Enables setting an output in the format in `${FILTER_NAME}_files
38-
# with the names of the matching files formatted as JSON array
39-
list-files: json
40-
41-
# Returns list of changed files matching each filter
42-
filters: |
43-
rai:
44-
- 'content/**'
45-
4631
- name: Check out repo
4732
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
4833

34+
- name: Get changed files
35+
id: changed-files
36+
uses: tj-actions/changed-files@3f54ebb830831fc121d3263c1857cfbdc310cdb9 # v42.0.4
37+
with:
38+
files: 'content/**'
39+
output_renamed_files_as_deleted_and_added: true
40+
4941
- name: Set up Node and dependencies
42+
if: steps.changed-files.outputs.any_changed == 'true'
5043
uses: ./.github/actions/node-npm-setup
5144

5245
- name: Check content type
46+
if: steps.changed-files.outputs.any_changed == 'true'
5347
id: checkContentType
5448
run: npm run check-content-type
5549
env:
56-
FILE_PATHS_CONTENT_TYPES: ${{ steps.filter.outputs.rai_files }}
50+
# all_changed_files does not include deleted files
51+
CHANGED_FILE_PATHS: ${{ steps.changed-files.outputs.all_changed_files }}
5752
CONTENT_TYPE: 'rai'
58-
- name: Logging
59-
run: |
60-
echo ${{ steps.checkContentType.outputs.contentType }}
6153

6254
- name: Add Legal team as a reviewer
63-
if: ${{ steps.checkContentType.outputs.contentType == 'true' }}
55+
if: steps.checkContentType.outputs.containsContentType == 'true'
6456
env:
6557
# The GH CLI uses a slightly different env name for
6658
# the token than the GITHUB_TOKEN used by actions

.github/workflows/confirm-internal-staff-work-in-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
7676
- name: Send Slack notification if a GitHub employee who isn't on the docs team opens an issue in public
7777
if: ${{ steps.membership_check.outputs.did_warn && github.repository == 'github/docs' }}
78-
uses: someimportantcompany/github-actions-slack-message@1d367080235edfa53df415bd8e0bbab480f29bad
78+
uses: someimportantcompany/github-actions-slack-message@a975b440de2bcef178d451cc70d4c1161b5a30cd
7979
with:
8080
channel: ${{ secrets.DOCS_OPEN_SOURCE_SLACK_CHANNEL_ID }}
8181
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}

.github/workflows/content-lint-markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Get changed content/data files
3232
id: changed-files
33-
uses: tj-actions/changed-files@ae82ed4ae04587b665efad2f206578aa6f0e8539 # v42.0.0
33+
uses: tj-actions/changed-files@3f54ebb830831fc121d3263c1857cfbdc310cdb9 # v42.0.4
3434
with:
3535
# No need to escape the file names because we make the output of
3636
# tj-actions/changed-files be set as an environment variable. Not

.github/workflows/main-preview-docker-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: 'Az CLI login'
33-
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # pin @v1.4.6
33+
uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # pin @v1.6.1
3434
with:
3535
creds: ${{ secrets.NONPROD_AZURE_CREDENTIALS }}
3636

.github/workflows/sync-search-elasticsearch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010
inputs:
1111
version:
12-
description: "Version to exclusively generate the search index for. E.g. 'dotcom', 'ghes-3.7', 'ghae'"
12+
description: "Version to exclusively generate the search index for. E.g. 'dotcom', 'ghes-3.12'"
1313
required: false
1414
default: ''
1515
languages:

0 commit comments

Comments
 (0)