mirror of https://gitea.com/gitea/act_runner.git
* Support "result" on "needs" context. This change adds "result" to a job's "needs" context, as documented [here](https://docs.github.com/en/actions/learn-github-actions/contexts#needs-context). `act` currently tracks the success/failure/cancelled status of a job, but does not include this value the `needs` context. Fixes #1367 * Change `Needs` to use a new struct rather than the open type `interface{}`. Related #1497 Fixes #1367 * Add integration test to "needs" context change. Relates: #1497 * feat: allow to spawn and run a local reusable workflow (#1423) * feat: allow to spawn and run a local reusable workflow This change contains the ability to parse/plan/run a local reusable workflow. There are still numerous things missing: - inputs - secrets - outputs * feat: add workflow_call inputs * test: improve inputs test * feat: add input defaults * feat: allow expressions in inputs * feat: use context specific expression evaluator * refactor: prepare for better re-usability * feat: add secrets for reusable workflows * test: use secrets during test run * feat: handle reusable workflow outputs Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * refactor: fix savestate in pre steps (#1466) * refactor: fix savestate in pre steps * fix pre steps collision * fix tests * remove * enable tests * Update pkg/runner/action.go * Rename InterActionState to IntraActionState Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * fix: tail (not absolute) as entrypoint of job container (#1506) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Fix conflict in merge. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| GITHUB_STATE | ||
| act-composite-env-test | ||
| actions | ||
| actions-environment-and-context-tests | ||
| basic | ||
| checkout | ||
| commands | ||
| composite-fail-with-output | ||
| container-hostname | ||
| defaults-run | ||
| dir with spaces | ||
| ensure-post-steps | ||
| env-and-path | ||
| environment-files | ||
| environment-files-parser-bug | ||
| environment-variables | ||
| evalenv | ||
| evalmatrix | ||
| evalmatrix-merge-array | ||
| evalmatrix-merge-map | ||
| evalmatrixneeds | ||
| evalmatrixneeds2 | ||
| fail | ||
| if-env-act | ||
| if-expressions | ||
| inputs-via-env-context | ||
| issue-104 | ||
| issue-122 | ||
| issue-141 | ||
| issue-228 | ||
| issue-597 | ||
| issue-598 | ||
| issue-1195 | ||
| job-container | ||
| job-container-invalid-credentials | ||
| job-container-non-root | ||
| job-needs-context-contains-result | ||
| job-nil-step | ||
| job-status-check | ||
| local-action-docker-url | ||
| local-action-dockerfile | ||
| local-action-js | ||
| local-action-via-composite-dockerfile | ||
| localdockerimagetest_ | ||
| mask-values | ||
| matrix | ||
| matrix-include-exclude | ||
| networking | ||
| nix-prepend-path | ||
| node | ||
| non-existent-action | ||
| outputs | ||
| parallel | ||
| pull-request | ||
| python | ||
| remote-action-composite-js-pre-with-defaults | ||
| remote-action-docker | ||
| remote-action-js | ||
| runs-on | ||
| secrets | ||
| shells | ||
| steps-context | ||
| uses-action-with-pre-and-post-step | ||
| uses-and-run-in-one-step | ||
| uses-composite | ||
| uses-composite-with-error | ||
| uses-composite-with-inputs | ||
| uses-composite-with-pre-and-post-steps | ||
| uses-docker-url | ||
| uses-github-empty | ||
| uses-github-full-sha | ||
| uses-github-noref | ||
| uses-github-path | ||
| uses-github-root | ||
| uses-github-short-sha | ||
| uses-nested-composite | ||
| uses-workflow | ||
| windows-add-env | ||
| windows-prepend-path | ||
| workdir | ||
| workflow_dispatch | ||
| workflow_dispatch-scalar | ||
| workflow_dispatch-scalar-composite-action | ||
| workflow_dispatch_no_inputs_mapping | ||