mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #68] [MERGED] feat: support branches as GITHUB_REF #1344
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#1344
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/68
Author: @caarlos0
Created: 5/23/2019
Status: ✅ Merged
Merged: 5/23/2019
Merged by: @cplee
Base:
master← Head:master📝 Commits (5)
03d57a8feat: support branches as GITHUB_REF8d181a6fix: added tests and improved code01f7ff3fix: using filepath instead of path9fd6310fix: clean code54ade14Merge branch 'master' into master📊 Changes
5 files changed (+149 additions, -61 deletions)
View changed files
📝
actions/runner_exec.go(+1 -1)📝
actions/runner_test.go(+17 -14)📝
actions/testdata/env.workflow(+11 -3)📝
common/git.go(+38 -43)📝
common/git_test.go(+82 -0)📄 Description
closes #67
If you think this is a good addition, I'll work into fixing/adding tests and making the code cleaner :)done.tested it locally, it works!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.