Skip to content

Extend GHA integration to support push events #332

@maxrake

Description

@maxrake

Overview

Is your feature request related to a problem? Please describe.

The current GitHub Action (GHA) integration is limited to pull_request events only. It does not support branch pipelines (e.g., push events). This was considered acceptable as the Phylum GitHub App was promoted as the primary option for GitHub users. However, the action now supports manifests in the form of lockfile generation while the app does not. That means more users are going to turn to the action and will want it to work in more environments than simply internal pull requests.

Describe the solution you'd like

Add support to the GHA for so-called "branch pipelines."

Describe alternatives you've considered

N/A

Additional context

Be careful about the pre-requisite checks for this integration. It will also likely be helpful to create a helper function like the other integrations have...something like is_in_pr()...to know and gate the actions based on the environment/event in use.

Acceptance criteria

  • Branch pipelines are enabled with push events
  • Documentation is updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions