An open API service indexing awesome lists of open source software.

https://github.com/gladiuscode/github-actions-playground

Playground to learn and save all github-actions template I use on my open source projects
https://github.com/gladiuscode/github-actions-playground

github-actions learning templates

Last synced: 10 months ago
JSON representation

Playground to learn and save all github-actions template I use on my open source projects

Awesome Lists containing this project

README

          

# Github Actions Playground

In this repository you can find templates and examples of some github actions workflows that I use in my own projects.
They are mainly focused around Typescript and React Native projects, because that's what I work with most of the time.

Feel free to copy them and use them in your own projects.

## Contributing

Contributions are welcome! If you have a workflow that you think is useful and you want to share it, feel free to open a
pull request.

## Workflows

### Release with [release-it](https://github.com/release-it/release-it)

This workflow is triggered manually and can bypass the ruleset that blocks any push to the main branch. It does it by
using a Github App that has been added to the bypass list in the branch protection rules.
Take a look at the [release-it-setup](./docs/release-it-setup.md) document to see how to set it up and an alternative
approach to the bypass procedure.

### Pass artifacts to next jobs

This workflow shows how to pass artifacts from one job to another.
Take a look at the [pass-artifacts-to-next-job](./docs/pass-artifacts-to-next-jobs.md) document to see how to set it up.

### Pull Request Code Checks

This workflow shows how to run code checks on a pull request that targets the main branch, it runs the `build` and `lint`
scripts.
Take a look at the [pull-request-code-checks](./docs/pull-request-code-checks.md) document to see how to set it up.

## Useful links

- [Github Actions Documentation](https://docs.github.com/en/actions)