Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 640a76c

Browse files
TEMPORARY: probe whether gh pr edit works under cdrci's token
DO NOT MERGE. Drop with the temporary push trigger.
1 parent 643fee9 commit 640a76c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/aigateway-prices-refresh.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,20 @@ jobs:
159159
--jq '.html_url'
160160
fi
161161
162+
# TEMPORARY probe: does `gh pr edit` work under cdrci's token, or does
163+
# it hit the same read:org wall as `gh pr list`? Drop this step once the
164+
# answer is recorded. continue-on-error keeps the run green either way,
165+
# and the title is set to the value it already has.
166+
- name: TEMPORARY probe gh pr edit under cdrci
167+
if: steps.detect.outputs.changed == 'true'
168+
continue-on-error: true
169+
env:
170+
GH_TOKEN: ${{ secrets.CDRCI_GITHUB_TOKEN }}
171+
run: |
172+
set -euo pipefail
173+
gh pr edit 28224 --title "chore: refresh AI model price book"
174+
echo "gh pr edit SUCCEEDED under cdrci token"
175+
162176
- name: Send Slack notification on failure
163177
if: failure()
164178
env:

0 commit comments

Comments
 (0)