Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xunleii/github-actions-grimoire

Collection of shared Github Action workflows
https://github.com/xunleii/github-actions-grimoire

dry github-actions workflow

Last synced: 10 days ago
JSON representation

Collection of shared Github Action workflows

Awesome Lists containing this project

README

        

# Github Actions - :closed_book: Grimoire
> A grimoire (/ɡrɪmˈwɑːr/ grim-WAHR) (also known as a "book of spells") is a textbook of magic, typically including instructions on how to create magical objects like talismans and amulets, how to perform magical spells, charms and divination, and how to summon or invoke supernatural entities such as angels, spirits, deities and demons.
> *[Wikipedia](https://en.wikipedia.org/wiki/Grimoire)*

So, after having read the Github blog post about [keeping our Github Actions DRY](https://github.blog/changelog/2021-10-05-github-actions-dry-your-github-actions-configuration-by-reusing-workflows/), I wanted to share with you my common used Github Actions.

## List of shared Github Actions
### Security
- [![Security hardening (Github Actions workflows)](https://github.com/xunleii/github-actions-grimoire/actions/workflows/zzz_run.security.workflows.yaml/badge.svg)](.github/workflows/security.workflows.yaml)
> [See usage here](.github/workflows/zzz_run.security.workflows.yaml#L10)
- Checks if yours Github Actions are valid
- Checks if you all of yours Github Actions uses pinned Actions

### Pull requests CI
- [![Iaas - Terraform CI (for pull requests) - Lint](https://github.com/xunleii/github-actions-grimoire/actions/workflows/zzz_run.terraform.pull_requests.yaml/badge.svg)](.github/workflows/terraform.pull_requests.lint.yaml)
> [See usage here](.github/workflows/zzz_run.terraform.pull_requests.yaml#L17)
- Checks if your Terraform files are valid and formatted
- Comments PRs with error information
- Handles several Terraform projects in a single PR
- [![Iaas - Terraform CI (for pull requests) - Plan](https://github.com/xunleii/github-actions-grimoire/actions/workflows/zzz_run.terraform.pull_requests.yaml/badge.svg)](.github/workflows/terraform.pull_requests.plan.yaml)
> [See usage here](.github/workflows/zzz_run.terraform.pull_requests.yaml#L21)
- Comments PRs with error information or plan state
- Handles several Terraform projects in a single PR

## Can I contribute to this "book" ?
Of course, and I really appreciate any contribution on this repo to get a sort of shared workflow collection that everyone could use.