We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aed8f7 commit b8c8e20Copy full SHA for b8c8e20
1 file changed
.github/workflows/codex-update.yml
@@ -72,7 +72,14 @@ jobs:
72
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
73
74
- name: Create PR
75
- env:
76
- GH_TOKEN: ${{ steps.app-token.outputs.token }}
77
run: |
78
- gh pr create --base main --title "Update codex to ${{ needs.check.outputs.version }}" --body "Automated codex update" --label "codex-update"
+ curl --fail-with-body -X POST \
+ -H "Accept: application/vnd.github+json" \
+ -H "Authorization: Bearer ${{ steps.app-token.outputs.token }}" \
79
+ https://api.github.com/repos/${{ github.repository }}/pulls \
80
+ -d '{
81
+ "title": "Update codex to ${{ needs.check.outputs.version }}",
82
+ "body": "Automated codex update",
83
+ "head": "${{ needs.check.outputs.branch }}",
84
+ "base": "main"
85
+ }'
0 commit comments