mitre/Release to Iron Bank

Automatically generate an issue + merge request containing specified changes against an Iron Bank repository (repo1.dso.mil)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
nameThe name of the application to be updated; this string will be used in git branch names so ensure that the provided string is compatible with git's reference naming requirements such as by making sure there are no spaces or periods: https://git-scm.com/docs/git-check-ref-formatyes
versionThe semver version number of the application to be released; this string will be normalized by converting periods to hyphens for use in git branch names but otherwise the user must ensure that the provided string is compatible with git's reference naming requirementsyes
working_directory_pathThe path to where the Iron Bank repo should be clonedyes../tmp_ironbank_workspace
ironbank_patA GitLab personal access token (PAT) for the specified user who has access to the Iron Bank project - ensure that this is a GitHub repo or org secret so that it is not leaked in the logs: https://docs.gitlab.com/user/profile/personal_access_tokens/#create-a-personal-access-token https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actionsyes
ironbank_usernameThe GitLab username for the user who has access to the Iron Bank project and whose PAT is being suppliedyes
ironbank_project_idThe GitLab project id for your Iron Bank project: https://docs.gitlab.com/user/project/working_with_projects/#access-a-project-by-using-the-project-idyes
ironbank_project_clone_urlThe clone url for your Iron Bank project without the 'https://' in frontyes
git_commit_author_nameThe commit author's name for the update being pushed to Iron BankyesAutomated Release
git_commit_author_emailThe commit author's email for the update being pushed to Iron Bank, e.g., saf@mitre.orgyes
issue_labelsA comma separated list of labels that will be applied to the issue filed on Iron BankyesStatus::Review
target_branchThe branch that the merge request will be targetting; if no or an empty input is provided, then the target branch will be the repository's default branch. `development` is usually the default branch on Iron Bankno
draftWhether or not to mark the merge request as a draft; if "true", then the merge request will be marked as a draft - when it is a draft, please ensure that `issue_labels` does not contain "Status::Review" since that forces Iron Bank staff to inspect the issueno
update_commandsThe bash script that will be evaluated in order to update all appropriate values within the Iron Bank repo; WARNING: only allow trusted content to be placed here, see the security concerns section of the READMEyes
namedescription
issue_idId for the generated GitLab issue on Iron Bank
mr_idId for the generated GitLab merge request on Iron Bank