-
-
Notifications
You must be signed in to change notification settings - Fork 16
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.