Derive repository from github context, drop with: inputs #3
Loading…
Reference in a new issue
No description provided.
Delete branch "simplify/derive-repo-from-context"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reusable workflows run with the calling repo's own
githubcontext, sogithub.repositoryis alreadyowner/namefor whichever repo invoked this � no input needed, and nothing for a caller to get wrong. (This already happened once:security-scan.ymlcallers were copy-pasted with the wrong repo name under the wrong input key.)security-scan.ymldropsproduct-name, derives it fromgithub.repository.renovate.ymldropsrepository, passesgithub.repositoryto the Renovate CLI directly.A caller now needs nothing but
uses:+secrets:� nowith:block at all.Also documents pinning callers to a commit SHA rather than
@main.