diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2be587e..49e9874 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,5 @@ jobs: node-version: 16 - run: npm ci - run: | - rm /home/runner/work/_temp/_github_workflow/event.json cp .github/workflows/event.json /home/runner/work/_temp/_github_workflow/event.json - cat /home/runner/work/_temp/_github_workflow/event.json npm run gha-e2e \ No newline at end of file diff --git a/src/utils-e2e.js b/src/utils-e2e.js index c473248..ba40840 100644 --- a/src/utils-e2e.js +++ b/src/utils-e2e.js @@ -44,9 +44,6 @@ describe('utils', () => { process.env.GITHUB_EVENT_PATH, process.env.GITHUB_ACTIONS ) - console.log('EVE::', eventData) - console.log('PATH::', process.env.GITHUB_EVENT_PATH) - console.log('ACT::', process.env.GITHUB_ACTIONS) la(JSON.stringify(eventData) === JSON.stringify(eventResult), eventData) }) diff --git a/src/utils.js b/src/utils.js index b7012ef..b519485 100644 --- a/src/utils.js +++ b/src/utils.js @@ -60,7 +60,6 @@ function getGhaEventData (eventFilePath, isGha) { let eventData if (eventFilePath && isGha === 'true') { const data = JSON.parse(fs.readFileSync(eventFilePath)) - console.log('DATA::', data) eventData = { headRef: data.pull_request.head.ref, headhSha: data.pull_request.head.sha,