Skip to content

Commit

Permalink
chore(ci): remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangarano committed Jan 5, 2024
1 parent 31d1906 commit 76a8f1e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions src/utils-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down
1 change: 0 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 76a8f1e

Please sign in to comment.