Commit 29672b6
authored
Replace deprecated ::set-output with $GITHUB_OUTPUT (#737)
## Summary
- Replace deprecated `::set-output` workflow command with the
recommended `>> $GITHUB_OUTPUT` syntax in
`.github/workflows/integration-tests.yml`
- The `::set-output` command has been deprecated by GitHub and is
vulnerable to log injection attacks ([GitHub
changelog](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/))
## Test plan
- [x] Verify the `check-token` job in `integration-tests.yml` correctly
sets the `has_token` output using the new syntax
- [x] Confirm downstream jobs that depend on
`steps.set-token-status.outputs.has_token` continue to work
NO_CHANGELOG=true
This pull request was AI-assisted by Isaac.
Signed-off-by: Hector Castejon Diaz <hector.castejon@databricks.com>1 parent 90e354f commit 29672b6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments