mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1497] [MERGED] feat: Support "result" on "needs" context. #1969
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#1969
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/1497
Author: @aholmes
Created: 12/9/2022
Status: ✅ Merged
Merged: 12/19/2022
Merged by: @mergify[bot]
Base:
master← Head:aholmes-add-results-to-needs📝 Commits (9)
bbe2692Support "result" on "needs" context.09da3b9ChangeNeedsto use a new struct rather than the open typeinterface{}.a3bb828Merge branch 'master' into aholmes-add-results-to-needs2839837Add integration test to "needs" context change.13e3fb7feat: allow to spawn and run a local reusable workflow (#1423)b370464refactor: fix savestate in pre steps (#1466)2dc4caafix: tail (not absolute) as entrypoint of job container (#1506)917dda4Fix conflict in merge.8acbb91Merge branch 'master' into aholmes-add-results-to-needs📊 Changes
5 files changed (+34 additions, -9 deletions)
View changed files
📝
pkg/exprparser/interpreter.go(+6 -1)📝
pkg/exprparser/interpreter_test.go(+4 -2)📝
pkg/runner/expression.go(+8 -6)📝
pkg/runner/runner_test.go(+1 -0)➕
pkg/runner/testdata/job-needs-context-contains-result/push.yml(+15 -0)📄 Description
This change adds "result" to a job's "needs" context, as documented here.
actcurrently tracks the success/failure/cancelled status of a job, but does not include this value theneedscontext.Fixes #1367
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.