mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2025-09-01 03:41:51 +02:00
security: set-output
cmd deprecated. Use $GITHUB_OUTPUT
env file (#9287)
* security: `set-output` cmd deprecated. Use `$GITHUB_OUTPUT` env file To avoid untrusted logged data to use `save-state` and `set-output` workflow commands without the intention of the workflow author we have introduced a new set of environment files to manage state and output. Starting 1st June 2023 workflows using `save-state` or `set-output` commands via stdout will fail with an error. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * chore: apply fix found at actions/stale#859 * test: fixing report escapes * test: fixing report escapes * test: fixing report escapes * test: fixing report escapes * test: fixing report escapes
This commit is contained in:
4
.github/workflows/check-urls.yml
vendored
4
.github/workflows/check-urls.yml
vendored
@@ -29,9 +29,9 @@ jobs:
|
||||
- name: Determine workflow parameters
|
||||
id: init-params
|
||||
run: |
|
||||
echo "::set-output name=fetch_depth::0";
|
||||
echo "fetch_depth=0" >> $GITHUB_OUTPUT
|
||||
if [ "${{ github.event_name }}" == "pull_request" ]; then
|
||||
echo "::set-output name=fetch_depth::0";
|
||||
echo "fetch_depth=0" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
Reference in New Issue
Block a user