Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for all GITHUB env vars #46

Merged
merged 4 commits into from Jun 2, 2022

Conversation

ianlewis
Copy link
Contributor

@ianlewis ianlewis commented Jun 2, 2022

Adds support for all GITHUB context environment variables described in the docs.
https://docs.github.com/en/actions/learn-github-actions/environment-variables

A Repo method on the GitHubContext is also added to retrieve the owner and repository name separately from the various places it can be retrieved (env vars and event payload).

@sethvargo sethvargo merged commit 27ad5ab into sethvargo:main Jun 2, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants