Skip to content

Commit f50b04b

Browse files
authored
Combine review comments to avoid duplicates 2 (#54501)
1 parent 856433f commit f50b04b

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/review-comment.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ on:
1010
types:
1111
- opened
1212
- synchronize
13+
paths-ignore:
14+
- '.github/workflows/review-comment.yml'
15+
# For reviewing changes to this workflow
16+
pull_request:
17+
types:
18+
- opened
19+
- synchronize
20+
paths:
21+
- '.github/workflows/review-comment.yml'
1322

1423
permissions:
1524
contents: read
@@ -36,7 +45,7 @@ jobs:
3645
run: |
3746
if [[ "${{ github.repository }}" == "github/docs-internal" ]]; then
3847
echo "APP_URL=https://docs-review.github.com" >> $GITHUB_ENV
39-
elif [[ "${{ github.repository }}" == "github/docs" ]]; then
48+
elif [[ "${{ github.repository }}" == 'github/docs' ]]; then
4049
echo "APP_URL=https://os-docs-review.github.com" >> $GITHUB_ENV
4150
fi
4251
- name: Find code changes comment
@@ -72,12 +81,12 @@ jobs:
7281
7382
* [Spin up a codespace][codespace]
7483
* [Set up a local development environment][local]
75-
${{ github.repository == "github/docs" && '' || '* Message `#docs-engineering` on Slack for a staging server.' }}
84+
${{ github.repository == 'github/docs' && '' || '* Message `#docs-engineering` on Slack for a staging server.' }}
7685
77-
[codespace]: ${{ github.repository == "github/docs" && 'https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace' || 'https://github.com/github/docs-team/blob/main/contributing-to-docs/use-a-codespace-to-review.md' }}
86+
[codespace]: ${{ github.repository == 'github/docs' && 'https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace' || 'https://github.com/github/docs-team/blob/main/contributing-to-docs/use-a-codespace-to-review.md' }}
7887
[local]: https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment#setting-up-your-local-environment
7988
80-
${{ github.repository == "github/docs" && 'A Hubber will need to deploy your changes internally to review.' || '' }}
89+
${{ github.repository == 'github/docs' && 'A Hubber will need to deploy your changes internally to review.' || '' }}
8190
8291
<details><summary>Table of review links</summary>
8392

0 commit comments

Comments
 (0)