-
Notifications
You must be signed in to change notification settings - Fork 1.7k
@actions/github should populate Run Number and Run ID #371
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Background
The @actions/github package populates a GitHub Context similar to github context available in workflows, see https://github.com/actions/toolkit/blob/master/packages/github/src/context.ts
Issue
This context is missing the Run ID and Run Number, available as GITHUB_RUN_NUMBER and GITHUB_RUN_ID, see https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
We should add these values to the package's context and ensure that the workflow github context matches what's available in this package.
Related: #65
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers