Skip to content

Commit 995981a

Browse files
authored
Re-enable Validate github/github docs URLs workflow (#55312)
1 parent 6934461 commit 995981a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/move-content.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
# These must be set to something before running the move-content
3535
# script because it depends on executing `git mv ...`
3636
# and `git commit ...`
37-
git config --global user.name any-body
38-
git config --global user.email "any-body@example.com"
37+
git config --global user.name "docs-bot"
38+
git config --global user.email "[email protected].com"
3939
4040
- name: Move hello-world.md to hello-wurld.md
4141
env:

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ jobs:
117117
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
118118
ISSUE_NUMBER: ${{ github.event.pull_request.number }}
119119
REPOSITORY: ${{ github.repository }}
120-
run: npm run validate-github-github-docs-urls -- post-pr-comment checks.json --changed-files $CHANGED_FILES
120+
run: |
121+
git config --global user.name "docs-bot"
122+
git config --global user.email "[email protected]"
123+
npm run validate-github-github-docs-urls -- post-pr-comment checks.json --changed-files $CHANGED_FILES
121124
122125
- uses: ./.github/actions/slack-alert
123126
if: ${{ failure() && github.event_name == 'schedule' }}

0 commit comments

Comments
 (0)