thisisnic opened a new issue, #49725:
URL: https://github.com/apache/arrow/issues/49725
### Describe the enhancement
Several workflow files use `${{ }}` template expressions directly inside
`run:` blocks. These should be refactored to pass values through environment
variables instead, which is the recommended best practice for GitHub Actions
workflows.
#### Example
Before:
```yaml
- run: |
if [ "${{ inputs.upload }}" = true ]
```
After:
```yaml
- run: |
if [ "${UPLOAD}" = true ]
env:
UPLOAD: ${{ inputs.upload }}
```
#### Affected files
- `.github/actions/sync-nightlies/action.yml` (`inputs.upload`)
- `.github/workflows/check_labels.yml` (`inputs.parent-workflow`)
- `.github/workflows/comment_bot.yml` (`github.event_path`)
- `.github/workflows/cpp_windows.yml` (`inputs.arch`,
`steps.setup-msys2.outputs.msys2-location`)
- `.github/workflows/integration.yml`
(`github.event.repository.default_branch`)
- `.github/workflows/report_ci.yml`
### Component(s)
Continuous Integration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]