mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #293] [MERGED] Support running commands in repositories without action.yaml #1405
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#1405
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/293
Author: @jsoref
Created: 6/25/2020
Status: ✅ Merged
Merged: 3/30/2021
Merged by: @cplee
Base:
master← Head:with-without-action-yml📝 Commits (8)
9fd1fe2Comment for public function284adddAdd git describe fallbackfe599baspelling: github30bb829Set initial branch to satisfy tests for modern git935fe73Clarify -even- if7b96487Go 1.1666b4e38Support running commands in repositories without action.yamlfd1d208Merge branch 'master' into with-without-action-yml📊 Changes
16 files changed (+96 additions, -23 deletions)
View changed files
📝
.github/workflows/push.yml(+11 -2)📝
.github/workflows/test-expressions.yml(+1 -1)📝
.github/workflows/test-if.yml(+1 -1)📝
Makefile(+1 -1)📝
README.md(+1 -1)📝
cmd/root.go(+2 -2)📝
go.mod(+1 -1)📝
pkg/common/git.go(+1 -0)📝
pkg/common/git_test.go(+1 -1)📝
pkg/model/action.go(+12 -9)📝
pkg/runner/expression_test.go(+1 -1)➕
pkg/runner/res/trampoline.js(+14 -0)📝
pkg/runner/run_context.go(+1 -1)📝
pkg/runner/run_context_test.go(+1 -1)📝
pkg/runner/runner.go(+1 -1)📝
pkg/runner/step_context.go(+46 -0)📄 Description
#246
I'm not claiming this is absolutely correct.
.github/workflows/scrape.yml:Tentative, based on further comments in the original issue:
.github/workflows/docker-login.yml:I suspect both cases will want some other fields to be able to migrate over, but I think I'll leave that for later (when someone identifies them, or for someone else to implement).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.