Skip to content

Repository files navigation

LizardByte icon

LizardByte actions

Reusable actions for GitHub workflows.

GitHub starsGitHub Workflow Status (CI)GitHub Workflow Status (CI-Tests)CodecovSonarCloud

actions

ActionDescriptionTypeLanguage
artifact_commentPost workflow artifact links in a sticky pull request commentcompositejavascript
audit_reposAudit repositories in an organizationcompositejavascript
facebook_postPost to Facebook page/group using Graph APIdockerpython
get_changed_filesGet the list of changed files in a pull requestcompositejavascript
monitor_spaceMonitor and track minimum free disk spacecompositebash
pinactRun pinact against repositories in an organization and create PRs for updatescompositejavascript
more_spaceFree up disk space in GitHub Actions runnerscompositebash
release_changelogGenerate a changelog for the latest releasecompositejavascript
release_createCreate a new releasecompositebash, javascript
release_homebrewValidate and update Homebrew formulacompositebash, python
release_setupPrepare a releasedockerpython
screenshotSetup cross-platform screenshot CLI toolcompositebash
setup_cudaSet up NVIDIA CUDA Toolkit on Linux runnerscompositebash
setup_pythonSet up Python environmentcompositebash
trailing_spacesCheck files for trailing spaces, empty lines at EOF, and missing newline at EOFcompositejavascript
virtual_desktopSetup virtual desktop for GUI apps on Linuxcompositebash

Contributions

Contributions are welcome! See our Contributor's Guide.

Patterns

Workflows

This repo has two workflows to test the actions:

  • ci.yml
    • A matrix is generated for each action based on the ci-matrix.json file in the action's directory. To add or remove a matrix, edit the ci-matrix.json file.
    • Each action should have at least one matrix defined.
    • If anything needs run before the action is run, create a pre-ci.sh file in the action's directory.
    • If anything needs run after the action is run, create a post-ci.sh file in the action's directory.
  • ci-tests.yml
    • This workflow runs unit tests for the repo using pytest and Jest.
    • Tests should 100% cover JavaScript and Python code.

Action Types

This repo has two types of actions:

  • Docker: These actions are run in a Docker container. They should have a Dockerfile in the action's directory.
  • Composite: These actions are run as a series of steps in the workflow.

Additional action types can be used if necessary.

Action Languages

This repo has three languages used for actions:

  • Bash: Used in portions of composite actions.
  • JavaScript: Used in portions of composite actions.
  • Python: Used in Docker actions and composite actions.

Additional languages can be used if necessary.

License

This repository is licensed under the MIT License. Individual actions may be licensed under a different license if specified in their respective directories.

About

Reusable actions for GitHub workflows.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages