Skip to content

Commit

Permalink
unset GITHUB_TOKEN for gitea actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
PittyXu committed May 24, 2023
1 parent eff3538 commit 7742b45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10794,6 +10794,7 @@ async function run() {
}

// run tool
delete process.env.GITHUB_TOKEN
exec.exec(binPath, params, options);
} catch (error) {
core.setFailed(error.message);
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ async function run() {
}

// run tool
delete process.env.GITHUB_TOKEN
exec.exec(binPath, params, options);
} catch (error) {
core.setFailed(error.message);
Expand Down

0 comments on commit 7742b45

Please sign in to comment.