mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #604] [MERGED] Add various GitHub environment variables #1520
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1520
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/604
Author: @jsoref
Created: 4/4/2021
Status: ✅ Merged
Merged: 5/6/2021
Merged by: @mergify[bot]
Base:
master← Head:github-action-path📝 Commits (6)
88133ccdefine GITHUB_ACTION_PATH #603542c81dAdd more environment variablesc742a9cAdd job name135fde0fix: remove unnecessary variablesd59401afeat: addRepositoryOwner8b6e542feat: add test forgetGithubContext()📊 Changes
5 files changed (+127 additions, -36 deletions)
View changed files
📝
pkg/runner/run_context.go(+68 -35)📝
pkg/runner/run_context_test.go(+43 -0)📝
pkg/runner/runner.go(+1 -0)📝
pkg/runner/step_context.go(+6 -1)📝
pkg/runner/testdata/uses-composite/composite_action/action.yml(+9 -0)📄 Description
Using a tool I wrote for something else... https://github.com/jsoref/gha-debug/runs/2017914814?check_suite_focus=true
GitHub
Act
GitHub additions
Act additions
Offhand, I think this is what I'd want:
''''''''jobs)origin0/dev/nullfixes #603
Notes:
USER/RUNNER_USERmight be more a matter of the image -- @catthehacker is going to fix this in their imageswhoami(orecho $USER) to calculate and fill in aRUNNER_USER, but it's unclear whether that's the right thing to do in general, and, again, it's hacky.GITHUB_PATHis #566🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.