mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-27 05:24:34 -07:00
trying to fix logging and permissions (#8854)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
This commit is contained in:
@@ -59,6 +59,8 @@ jobs:
|
|||||||
private-key: '${{ secrets.PRIVATE_KEY }}'
|
private-key: '${{ secrets.PRIVATE_KEY }}'
|
||||||
permission-pull-requests: 'write'
|
permission-pull-requests: 'write'
|
||||||
permission-contents: 'write'
|
permission-contents: 'write'
|
||||||
|
permission-metadata: 'read'
|
||||||
|
permission-actions: 'read'
|
||||||
|
|
||||||
- name: 'Configure Git User'
|
- name: 'Configure Git User'
|
||||||
run: |-
|
run: |-
|
||||||
@@ -71,15 +73,15 @@ jobs:
|
|||||||
GH_TOKEN: '${{ steps.generate_token.outputs.token }}'
|
GH_TOKEN: '${{ steps.generate_token.outputs.token }}'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
# Capture output directly to environment variable
|
# Capture output and display it in logs using tee
|
||||||
{
|
{
|
||||||
node scripts/releasing/create-patch-pr.js --commit=${{ github.event.inputs.commit }} --channel=${{ github.event.inputs.channel }} --dry-run=${{ github.event.inputs.dry_run }}
|
node scripts/releasing/create-patch-pr.js --commit=${{ github.event.inputs.commit }} --channel=${{ github.event.inputs.channel }} --dry-run=${{ github.event.inputs.dry_run }}
|
||||||
echo "EXIT_CODE=$?" >> "$GITHUB_OUTPUT"
|
echo "EXIT_CODE=$?" >> "$GITHUB_OUTPUT"
|
||||||
} 2>&1 | {
|
} 2>&1 | tee >(
|
||||||
echo "LOG_CONTENT<<EOF" >> "$GITHUB_ENV"
|
echo "LOG_CONTENT<<EOF" >> "$GITHUB_ENV"
|
||||||
cat >> "$GITHUB_ENV"
|
cat >> "$GITHUB_ENV"
|
||||||
echo "EOF" >> "$GITHUB_ENV"
|
echo "EOF" >> "$GITHUB_ENV"
|
||||||
}
|
)
|
||||||
|
|
||||||
- name: 'Comment on Original PR'
|
- name: 'Comment on Original PR'
|
||||||
if: 'inputs.original_pr'
|
if: 'inputs.original_pr'
|
||||||
|
|||||||
Reference in New Issue
Block a user