Delete logs

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2023-10-08 17:15:55 +03:00
parent b67ce0cc31
commit fd560d0696
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -12,10 +12,6 @@ async function run() {
console.log(`CWD: ${process.cwd()}`) console.log(`CWD: ${process.cwd()}`)
console.log(`filePath: ${core.getInput('filePath')}`) console.log(`filePath: ${core.getInput('filePath')}`)
const githubToken = core.getInput('githubToken');
console.log("githubToken", githubToken)
const patterns = ['src/**/*.csproj', 'package.json'] const patterns = ['src/**/*.csproj', 'package.json']
const globber = await glob.create(patterns.join('\n')) const globber = await glob.create(patterns.join('\n'))
const files = await globber.glob() 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 // Append a newline character to the end of the new content
newContent += '\n'; newContent += '\n';
const githubToken = process.env.GITHUB_TOKEN; const githubToken = core.getInput('githubToken');
// Get the repository owner and name // Get the repository owner and name
const repoFullName = process.env.GITHUB_REPOSITORY; const repoFullName = process.env.GITHUB_REPOSITORY;