mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 13:56:43 +00:00
Delete logs
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
b67ce0cc31
commit
fd560d0696
6
index.js
6
index.js
@ -12,10 +12,6 @@ async function run() {
|
||||
console.log(`CWD: ${process.cwd()}`)
|
||||
console.log(`filePath: ${core.getInput('filePath')}`)
|
||||
|
||||
const githubToken = core.getInput('githubToken');
|
||||
|
||||
console.log("githubToken", githubToken)
|
||||
|
||||
const patterns = ['src/**/*.csproj', 'package.json']
|
||||
const globber = await glob.create(patterns.join('\n'))
|
||||
const files = await globber.glob()
|
||||
@ -79,7 +75,7 @@ async function commitChanges(file, filePath) {
|
||||
// Append a newline character to the end of the new content
|
||||
newContent += '\n';
|
||||
|
||||
const githubToken = process.env.GITHUB_TOKEN;
|
||||
const githubToken = core.getInput('githubToken');
|
||||
|
||||
// Get the repository owner and name
|
||||
const repoFullName = process.env.GITHUB_REPOSITORY;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user