1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Combine review comments to avoid duplicates 2 (#54501)

This commit is contained in:
Kevin Heis
2025-02-20 14:51:54 -08:00
committed by GitHub
parent 856433f9fe
commit f50b04bfd4

View File

@@ -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>