Skip to content

Commit e46f454

Browse files
authored
Merge pull request github#36637 from github/repo-sync
Repo sync
2 parents d00dca8 + 26895b8 commit e46f454

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/codespace-review-check.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ jobs:
5858
fi
5959
6060
# https://stackoverflow.com/a/70716837
61-
# This might not need `| sed 's/"/\\"/g'`
62-
matrix=$(echo "$branches" | jq -scR 'split("\n") | map(select(. != ""))' | sed 's/"/\\"/g')
61+
matrix=$(echo "$branches" | jq -scR 'split("\n") | map(select(. != ""))')
6362
echo "- Matrix: $matrix"
6463
echo "matrix=$matrix" >> $GITHUB_OUTPUT
6564
@@ -76,14 +75,16 @@ jobs:
7675
matrix:
7776
value: ${{ fromJSON(needs.codespace-review-check-find.outputs.matrix) }}
7877
runs-on: ubuntu-latest
79-
if: ${{ github.repository == 'github/docs-internal' }}
78+
if: ${{ github.repository == 'github/docs-internal' && needs.codespace-review-check-find.outputs.matrix }}
8079
env:
8180
repo: github/docs-internal
8281
steps:
8382
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
8483

8584
- name: Find the pull request
8685
id: findPr
86+
env:
87+
GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_CODESPACE }}
8788
run: |
8889
echo "Looking up pull request"
8990
echo "- Branch: ${{ matrix.value }}"

.github/workflows/codespace-review-up.yml

-4
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,6 @@ jobs:
214214
After 4 hours, you can reactivate your codespace by applying the https://github.com/${{ env.REPO }}/labels/extend-codespace label to the pull request.
215215
If the label is already applied, you can remove and reapply the label to reactivate your codespace.
216216
217-
#### Maximum of 100 _active_ codespaces per user
218-
219-
Your codespace may be deleted if the limit is reached.
220-
221217
<details><summary>Table of review links</summary>
222218
223219
${{ steps.changes.outputs.changesTable && 'The table shows the files in the `content` directory that were changed in this pull request. This helps you review your changes on the review server. Changes to the `data` directory are not included in this table.' || '' }}

0 commit comments

Comments
 (0)