Combine review comments to avoid duplicates 2 (#54501)
This commit is contained in:
17
.github/workflows/review-comment.yml
vendored
17
.github/workflows/review-comment.yml
vendored
@@ -10,6 +10,15 @@ on:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
paths-ignore:
|
||||
- '.github/workflows/review-comment.yml'
|
||||
# For reviewing changes to this workflow
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
paths:
|
||||
- '.github/workflows/review-comment.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -36,7 +45,7 @@ jobs:
|
||||
run: |
|
||||
if [[ "${{ github.repository }}" == "github/docs-internal" ]]; then
|
||||
echo "APP_URL=https://docs-review.github.com" >> $GITHUB_ENV
|
||||
elif [[ "${{ github.repository }}" == "github/docs" ]]; then
|
||||
elif [[ "${{ github.repository }}" == 'github/docs' ]]; then
|
||||
echo "APP_URL=https://os-docs-review.github.com" >> $GITHUB_ENV
|
||||
fi
|
||||
- name: Find code changes comment
|
||||
@@ -72,12 +81,12 @@ jobs:
|
||||
|
||||
* [Spin up a codespace][codespace]
|
||||
* [Set up a local development environment][local]
|
||||
${{ github.repository == "github/docs" && '' || '* Message `#docs-engineering` on Slack for a staging server.' }}
|
||||
${{ github.repository == 'github/docs' && '' || '* Message `#docs-engineering` on Slack for a staging server.' }}
|
||||
|
||||
[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' }}
|
||||
[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' }}
|
||||
[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
|
||||
|
||||
${{ github.repository == "github/docs" && 'A Hubber will need to deploy your changes internally to review.' || '' }}
|
||||
${{ github.repository == 'github/docs' && 'A Hubber will need to deploy your changes internally to review.' || '' }}
|
||||
|
||||
<details><summary>Table of review links</summary>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user