Use Library for GitHub Actions Functionality and Allow Manual lineage_scan
Runs
#37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🗣 Description
This PR makes two changes:
workflow_dispatch
functionality to thelineage_scan
workflow so it can be manually triggered.💭 Motivation and context
The yanglbme/actions-toolkit library provides a Python implementation of the GitHub maintained actions/toolkit JavaScript project. Currently it only has the
actions.core
package implemented, but this is also the functionality we are most interested in using. While we are only using the functionality to get Action inputs right now, I have plans to leverage more of the GitHub Actions functionality available and this library will provide a clean means to do so.Adding a
workflow_dispatch
trigger to thelineage_scan
workflow allows us to manually trigger a run either in the GitHub web UI or by using the GitHub CLI. This will provide some flexibility when a skeleton has a number of PRs to merge and tests take a notable amount of time to manually trigger the workflow if a scheduled run has processed mid-merges.🧪 Testing
Automated tests pass. A manually triggered
lineage_scan
run was successful.✅ Checklist
to reflect the changes in this PR.