Skip to content

Improvement: Input parameter to only check files changed in a pull request #207

@ModeSevenIndustrialSolutions

Description

I've written a thin wrapper that only checks files changed in a pull request.

The action code and README.md is here:
https://github.com/os-climate/osc-github-devops/tree/main/.github/actions/pinned-versions-action

The action code here:
https://github.com/os-climate/osc-github-devops/blob/main/.github/actions/pinned-versions-action/action.yaml

It leverages an upstream "changed files" action from: tj-actions/changed-files

It should be possible to add this functionality to the base action by creating a new input variable and importing some of the action code. I've implemented the required shim functionality using shell code which was somewhat hacked together. I've no expertise in Javascript, but porting this over might not involve much effort?

I'm open to idea of collaborating on this topic as a future enhancement.

BTW, I am currently employed by the Linux Foundation and I've started using this action in some of our public repositories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions