Skip to content

[CI] GH Actions workflow_run flows reduce gh context utilization #4615

Open
@adrianriobo

Description

Component

Quality Engineering

Is your enhancement related to a problem? Please describe

When we use the workflow_run strategy we are passing the full gh context from the PR execution to the workfow_run mostly to being able to update the state on the PR, but all the fields wee need for it can be extracted from the worflow_run payload itself:

Describe the solution you'd like

Check this sample:

https://github.com/containers/podman-desktop-extension-ai-lab/blob/1d91cae0f529681a6cf241ec92bbad102ca8623a/.github/workflows/recipe-catalog-change-trigger.yaml#L10

We can apply same strategy to reduce the information moved between executions

Describe alternatives you've considered

No response

Additional context

No response

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    Work In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions