Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix shell injection bug
Fix a shell injection bug where an attacker controlling the "tag" value in the code (i.e. the value of `process.env.GITHUB_REF` or of the `with: tag` input value) can run arbitrary (*) shell commands. Also, update the Action's branding, changing the Action icon from "git-commit" to "tag". (*): provided it is within the limits of the GitHub Actions environment
- Loading branch information
1 parent
7455eac
commit 9f30756
Showing
4 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,5 +16,5 @@ runs: | |
| main: 'lib/index.js' | ||
|
|
||
| branding: | ||
| icon: 'git-commit' | ||
| icon: 'tag' | ||
| color: 'gray-dark' | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters