Skip to content

ritterim/public-github-actions

Repository files navigation

public-github-actions

A repository to contain RIMdev's public GitHub Actions and reusuable workflow (YML) files. Plus forks of other projects that we find useful and needed to version control for security/enhancements.

Versioning

Because this mono-repo contains multiple GitHub actions and reusable workflow files, SemVer rules will be difficult to apply meaningfully or consistently. See the releases page for a list of current versions and the change logs.

  • The major (1st) position will probably never change.
  • The minor (2nd) position will bump frequently as we add new actions/workflows, remove old code or make a breaking change.
  • The patch (3rd) position will bump for bug fixes.

Breaking changes will be mentioned in the BREAKING_CHANGES.md file. Breaking changes should be rare, but there are no guarantees.

You can use the 'git' command line to look at changes for a specific path / file.

git diff refs/tags/v1.0.0 refs/tags/v1.1.1 -- .github/workflows/

Release Process

Summary: Version tags which have release notes published should be safe to use. For upcoming releases, we recommend avoiding them until a release has been published.

  1. A new annotated tag will be pushed up to the repo. This tag will have 'DRAFT' somewhere in the comment.

  2. The reusable workflows and actions will be updated to point at this new version tag.

  3. Changes are tested.

  4. The annotated tag is deleted, then recreated with a comment of "Release x.y.z".

  5. A GitHub Release is created from the annotated tag.

Reusable Workflows

Reusable GitHub Actions workflows. See ReusableWorkflows.md for the list and documentation.

GitHub Actions

GitHub Actions authored by RIMdev.

GitHub

NPM Registry Configuration

These actions help configure your .npmrc file to authenticate against different NPM registries for retrieving and/or publishing NPM packages.

Validators

Actions which can be used to validate input values to workflows against RegEx patterns. While not guaranteed, these can help reduce the risk of command-line injection vulnerabilities or guard against simple mistakes.

Forked GitHub Actions

GitHub Actions which have been "vendored" for use by RIMdev. These will stray away from the upstream version as needed.