Skip to content

SineQuaNonSoftware/workflows

Repository files navigation

GitHub Actions Workflows

All of our workflows by type, and git hooks to update the workflow file pre-commit.

To use :

Install pre-commit

curl https://pre-commit.com/install-local.py | python3 -

Adding pre-commit hooks to a repo

cd $my_repo
pre-commit sample-config > .pre-commit-config.yaml

Then you can add our github-actions hooks to the .pre-commit file :

- repo: https://github.com/SineQuaNonSoftware/workflows/
  rev: master
  hooks:
    - id: terraform-github-actions

We currently have :

terraform-github-actions
puppet-github-actions
puppet-forge-github-actions
rails-github-actions

Updating hooks

pre-commit autoupdate

Installing the hooks for an already hooked repo

Install all the hooks

pre-commit install

Adding new hooks

List of available hooks Adding existing hooks Hook creation

Running hooks

pre-commit run --all-files # Runs all configured hooks on all files
pre-commit run --all-files terraform-github-actions # Run this particular hook on all files

About

GitHub action workflows for our CI/CD, made to be updated by pre-commit hooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages