Skip to content

Commit

Permalink
Set permissions for wrapper script
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg committed Sep 28, 2023
1 parent a509f19 commit e30a5b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/init-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/init-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ async function run() {
goWrapperPath,
`#!/bin/bash\n\nexec ${goBinaryPath}`,
);
fs.chmodSync(goWrapperPath, "755");

// Store the original location of our wrapper script somewhere where we can
// later retrieve it from and cross-check that it hasn't been changed.
Expand Down

0 comments on commit e30a5b8

Please sign in to comment.