Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# ActionsTOCTOU


This PoC contains code to monitor for an approval event (either a comment, label, or deployment environment approval) and then quickly replaces a file in the PR head with a local file specified as a parameter.

This could be a script, an `action.yml` file, a `package.json` file. It really depends on the target workflow.
Expand Down
2 changes: 1 addition & 1 deletion deployment_example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devDependencies": {},
"scripts": {
"start": "node index.js",
"build": "echo \"Normal happy build\"!"
"build": "echo \"Evil build!\"!"
},
"author": "",
"license": "MIT"
Expand Down