Skip to content

LizardByte/actions

Repository files navigation

LizardByte re-usable actions

GitHub Workflow Status (CI) Codecov

This is a monorepo containing a collection of GitHub Actions maintained by LizardByte.

actions

Action Description Type Language
facebook_post Post to Facebook page/group using Graph API docker python
release_changelog Generate a changelog for the latest release composite javascript
release_create Create a new release composite bash, javascript
release_homebrew Validate and update Homebrew formula composite bash, python
release_setup Prepare a release docker python
setup_python Set up Python environment composite bash

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.
  • pytest.yml
    • This workflow runs unit tests for the repo.
    • Python code should be 100% covered by tests.

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •