@@ -53,11 +53,13 @@ jobs:
5353 run : ' npm ci'
5454
5555 - name : ' Print Inputs'
56- run : |
57- echo "${{ toJSON(github.event.inputs) }}"
56+ shell : ' bash'
57+ env :
58+ JSON_INPUTS : ' ${{ toJSON(github.event.inputs) }}'
59+ run : ' echo "$JSON_INPUTS"'
5860
5961 - name : ' Run Tests'
60- if : " ${{github.event.inputs.force_skip_tests == 'false'}}"
62+ if : " ${{ github.event_name == 'schedule' || github. event.inputs.force_skip_tests == 'false' }}"
6163 uses : ' ./.github/actions/run-tests'
6264 with :
6365 gemini_api_key : ' ${{ secrets.GEMINI_API_KEY }}'
@@ -99,11 +101,11 @@ jobs:
99101 wombat-token-core : ' ${{ secrets.WOMBAT_TOKEN_CORE }}'
100102 wombat-token-cli : ' ${{ secrets.WOMBAT_TOKEN_CLI }}'
101103 github-token : ' ${{ secrets.GITHUB_TOKEN }}'
102- dry-run : ' ${{ github.event.inputs.dry_run }} '
104+ dry-run : " ${{ github.event_name != 'schedule' && github. event.inputs.dry_run == 'true' }} "
103105 previous-tag : ' ${{ steps.nightly_version.outputs.PREVIOUS_TAG }}'
104106 working-directory : ' ./release'
105107 skip-branch-cleanup : true
106- force-skip-tests : ' ${{ github.event.inputs.force_skip_tests }} '
108+ force-skip-tests : " ${{ github.event_name != 'schedule' && github. event.inputs.force_skip_tests == 'true' }} "
107109 gemini_api_key : ' ${{ secrets.GEMINI_API_KEY }}'
108110
109111 - name : ' Create and Merge Pull Request'
@@ -113,11 +115,11 @@ jobs:
113115 pr-title : ' chore/release: bump version to ${{ steps.nightly_version.outputs.RELEASE_VERSION }}'
114116 pr-body : ' Automated version bump for nightly release.'
115117 github-token : ' ${{ secrets.GEMINI_CLI_ROBOT_GITHUB_PAT }}'
116- dry-run : ' ${{ github.event.inputs.dry_run }} '
118+ dry-run : " ${{ github.event_name != 'schedule' && github. event.inputs.dry_run == 'true' }} "
117119 working-directory : ' ./release'
118120
119121 - name : ' Create Issue on Failure'
120- if : " ${{ failure() && github.event.inputs.dry_run != 'true' }}"
122+ if : " ${{ failure() && ( github.event_name == 'schedule' || github. event.inputs.dry_run != 'true') }}"
121123 env :
122124 GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
123125 RELEASE_TAG : ' ${{ steps.nightly_version.outputs.RELEASE_TAG }}'
0 commit comments