This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
Move action inputs from workflow file to configuration file #69
Labels
enhancement
New feature or request
Problem: GitHub does not provide a
$WORKFLOW_PATH
for us to enforce that the workflow is triggered from a protected location (related to built-in checks. According to https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables:However:
Solution: since we're using a configuration file, the action inputs defined in https://github.com/paritytech/pr-custom-review/blob/master/action.yml, except the token, can be moved to that instead of passing them through the workflow's job inputs. Doing so would allow us to protect the inputs without having to put locks above team names.
The text was updated successfully, but these errors were encountered: