Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 36ca964

Browse files
committed
Update dependencies
1 parent 4e7b0c5 commit 36ca964

File tree

3 files changed

+252
-353
lines changed

3 files changed

+252
-353
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ async function run () {
9696
sha,
9797
workflow,
9898
actor: githubUsername,
99+
runId,
100+
runNumber,
99101
payload: {
100102
action, // Activity Type from https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
101103
ref,
@@ -115,8 +117,6 @@ async function run () {
115117
const branch = (eventName === 'push')
116118
? ref.slice('refs/heads/'.length) // ref = 'refs/heads/master'
117119
: github.context.payload.pull_request.head.ref // 'master'
118-
const runNumber = process.env.GITHUB_RUN_NUMBER
119-
const runId = process.env.GITHUB_RUN_ID
120120

121121
const message = (eventName === 'push')
122122
? headCommitMessage.split('\n')[0]

0 commit comments

Comments
 (0)