This repository serves as a collection of reusable GitHub Action workflows specifically designed for usage in Node and Monorepo projects. The workflows stored here encapsulate common and repetitive tasks, allowing them to be easily integrated into multiple projects. This not only reduces the necessity to rewrite code, but also ensures a standardized approach to common operations across all repositories.
- Usage Limits
- Workflow syntax for GitHub Actions
- Authentication in a workflow
- Creating a personal access token
To use these workflows, simply reference them from your project's workflows. Instructions for each workflow are detailed below.
Read more about reusing workflows.
Configure GitHub Actions permissions: Go to repo Settings > Actions > General and make sure to configure the following:
Actions permissions
should be set toAllow all actions and reusable workflows
Workflow permissions
should be set toRead and write permissions
, and make sure theAllow GitHub Actions to create and approve pull requests
option is active.
- Node Setup Environment and Resources - sets up the Node.js environment with pnpm, pnpm cache, nx (optional), nx cache (optional) and allocates resources
- Codecov - uploads coverage reports to Codecov
- allo-allo (docs) - a welcome bot for new contributors
- cleanup-branch-cache (docs) - automatically cleans all cache key if a branch is closed.
- lock-closed (docs) - locks issues and PRs that have been closed for more than a year
- lock-file-maintenance (docs) - This action will check if the pull request title follows the Conventional Commits specification.
- semantic-pull-request (docs) - validates if the PR title has a defined semantic title
- set-default-labels (docs) - sets default labels on issues and PRs
- stale-issues (docs) - closes stale issues
If you would like to help take a look at the list of issues and check our Contributing guidelines.
Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
We have a list of good first issues that contain bugs that have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.
The anolilab workflows is open-sourced software licensed under the MIT