Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trussworks/shared-actions
Home of shared github actions
https://github.com/trussworks/shared-actions
Last synced: 3 months ago
JSON representation
Home of shared github actions
- Host: GitHub
- URL: https://github.com/trussworks/shared-actions
- Owner: trussworks
- License: apache-2.0
- Created: 2022-08-18T18:16:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-27T23:16:50.000Z (4 months ago)
- Last Synced: 2024-07-28T00:24:42.640Z (4 months ago)
- Homepage:
- Size: 96.7 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - trussworks/shared-actions - Home of shared github actions (Others)
README
# shared-actions
This repository houses common and shared GitHub Action workflows.
One way to leverage the workflow is to copy and paste it into your repo or you can simply reference it. To use one of the workflows in your GitHub Action job, input the respective workflow in the `uses` parameter like so
```bash
jobs:
validate:
uses: trussworks/shared-actions/.github/workflows/validate-tf.yml@main
```## Dependencies
Run the following commands to make sure your local machine has the tools necessary to work with this repository.
```bash
brew install pre-commit
pre-commit install --install-hooks
```## Creating New Reusable Workflows
- Make sure to add `workflow_call` as a trigger for the workflow.
- [Disable the workflow manually](https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow?tool=cli) as it isn't necessarily relevant to this repo.