Skip to content

Commit 58f923b

Browse files
mitchdennyMitch Denny
andauthored
Need to reauth. (#12147)
* Need to reauth. * Need to use specific token. --------- Co-authored-by: Mitch Denny <[email protected]>
1 parent b045f8e commit 58f923b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test-scenario.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
REPO_OWNER: dotnet
2222
REPO_NAME: aspire-playground
2323
GH_CLI_VERSION: 2.81.0
24-
GH_TOKEN: ${{ secrets.GH_PLAYGROUND_TOKEN }}
24+
GH_PLAYGROUND_TOKEN: ${{ secrets.GH_PLAYGROUND_TOKEN }}
2525
steps:
2626
- name: Checkout repository
2727
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -91,6 +91,9 @@ jobs:
9191
echo "Creating agent task..."
9292
PROMPT_FILE="${{ steps.check_prompt.outputs.prompt_file }}"
9393
94+
# Auth using the token
95+
gh auth login --with-token <<< "$GH_PLAYGROUND_TOKEN"
96+
9497
# Create the agent task using stdin and capture the output
9598
OUTPUT=$(cat "$PROMPT_FILE" | gh agent-task create \
9699
--repo "${REPO_OWNER}/${REPO_NAME}" \

0 commit comments

Comments
 (0)