Skip to content

ADR: Support more action types within a composite action#1040

Closed
ericsciple wants to merge 3 commits intomainfrom
users/ericsciple/21-04-adr
Closed

ADR: Support more action types within a composite action#1040
ericsciple wants to merge 3 commits intomainfrom
users/ericsciple/21-04-adr

Conversation

@ericsciple
Copy link
Copy Markdown
Collaborator

No description provided.

@ericsciple ericsciple requested a review from a team as a code owner April 7, 2021 15:50
@ericsciple ericsciple marked this pull request as draft April 7, 2021 15:50
@ericsciple ericsciple changed the title adr: support more action types within a composite action ADR: Support more action types within a composite action Apr 7, 2021
- Download all nested actions
- Decide recursion limit
- src/Runner.Worker/ActionManager.cs
- Precursor: Remove feature flag DistributedTask.NewActionMetadata
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does compat look like with GHES... probably fine since we don't need to be that far backward compatible.

what would compat look like for new runner releases with versions of GHES that might not support nested composite... you could unintentionally violate policy if we move the check? that might be okay-ish if we document it?

- Testing
- Support all types of action manifests: Node.js, Dockerfile, `docker://`, composite, no manifest only Dockerfile
- Support all types of action references: `docker://`, `./`, owner/repo@ref
- Support for actions with pre-step and post-step. For pre/post, also test intra-action-state No newline at end of file
Copy link
Copy Markdown
Contributor

@hross hross Apr 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should do a security review/threat model when we know the implementation details. is policy the only issue or are there other security promises we make now without nesting that we would want to be concerned about?


- Launch
- New feature flag
- Move Action policy enforcement from workflow run, to resolve actions endpoint
Copy link
Copy Markdown
Collaborator Author

@ericsciple ericsciple Apr 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Also", not "move"

@aavileli
Copy link
Copy Markdown

Is this going to be available this year ?

rahearn added a commit to OHS-Hosting-Infrastructure/complaint-tracker that referenced this pull request Aug 9, 2021
See ADR: actions/runner#1040 for
more information, or to know when this can be re-enabled
@thboop thboop closed this Aug 12, 2021
@mpdude
Copy link
Copy Markdown

mpdude commented Aug 18, 2021

@thboop Could you explain what closing this PR means?

Has the idea been dismissed, has it been implemented, new PR elsewhere?

@thboop
Copy link
Copy Markdown
Collaborator

thboop commented Aug 18, 2021

Hey @mpdude

Sorry for the delay. Uses is now available 🎉 : #646 (comment)

This ADR was superseded by: https://github.com/actions/runner/blob/main/docs/adrs/1144-composite-actions.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants