Skip to content

Commit d9a7717

Browse files
committed
github: Conform to the CVE-2020-15228 advisory
Replace the dangerous `set-env` arguments in our workflow file with environment files [1], as suggested by the CVE-2020-15228 advisory [2]. [1]: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#environment-files [2]: GHSA-mfwh-5m23-j46w
1 parent 2e91f50 commit d9a7717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/CI.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
139139
steps:
140140
- name: Set release tag
141-
run: echo ::set-env name=GITHUB_RELEASE_TAG::${GITHUB_REF#refs/tags/}
141+
run: echo GITHUB_RELEASE_TAG=${GITHUB_REF#refs/tags/} >> $GITHUB_ENV
142142

143143
- name: Create release
144144
id: create_release

0 commit comments

Comments
 (0)