Fix Codex workflow gh usage

This commit is contained in:
Carlos Polop
2026-01-31 13:19:50 +01:00
parent 29d350fa79
commit fcc78b919a
2 changed files with 2 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ jobs:
- name: Resolve PR context
id: gate
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ github.token }}
run: |
pr_number="${{ github.event.workflow_run.pull_requests[0].number }}"

View File

@@ -90,7 +90,7 @@ jobs:
run: |
gh api -X POST -H "Accept: application/vnd.github+json" \
/repos/${{ github.repository }}/issues/${PR_NUMBER}/labels \
-f labels='["codex-fix-attempted"]'
-f labels[]=codex-fix-attempted
- name: Checkout PR head
uses: actions/checkout@v5