* Add files to make repository public * Redecorate README.md * Redecorate README.md * Redecorate README.md * Redecorate README.md * Fix review points on the README.md Co-authored-by: Marko Zivic <100996310+marko-zivic-93@users.noreply.github.com> * Add SUPPORT.md, fix review points * Update README.md and SECURITY.md * Make small fixes in SECURITY.md Co-authored-by: Marko Zivic <100996310+marko-zivic-93@users.noreply.github.com>
2.6 KiB
Reusable Workflows for Developing Actions
This repository contains reusable workflows that are useful for developing actions.
Available workflows
This workflow helps ensure that the code of the action you are going to deploy:
- Is well-formated
- Is linted
- Successfully builds
- Passes unit-tests Additionally node packages used by the action can be audited.
Default use pattern:
basic-validation-call:
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
This workflow helps ensure that the generated innards of the dist directory match what they are expected to be.
The dist is a particular directory in Actions that contains distributable JS files.
In Actions, the dist is generated through a build process from other source files.
Default use pattern:
check-dist-call:
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
This workflow uses GitHub's code scanning feature to analyze a repository for vulnerabilities, bugs, and other errors. This workflow uses github/codeql-action to run code scanning.
Default use pattern:
codeql-analysis-call:
uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main
This workflow helps to check the statuses of cached dependencies used in action with the help of the Licensed tool.
Default use pattern:
licensed-call:
uses: actions/reusable-workflows/.github/workflows/licensed.yml@main
Adjusting reusable workflows
If the default behaviour of a reusable workflow isn't what you need, you can adjust it using the workflow's inputs.
Check the available inputs of reusable workflows in the corresponding YAML file in .github/workflows/<reusable-workflow-name>.yml.
Example of disabling audit of npm packages in the basic-validation workflow:
basic-validation-call:
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
with:
enable-audit: false
License
The scripts and documentation in this project are released under the MIT License
Contributions
Contributions are welcome! See Contributor's Guide