Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bleargh45/dist-zilla-plugin-github-requiregreenbuild

Require a successful GitHub Actions workflow run
https://github.com/bleargh45/dist-zilla-plugin-github-requiregreenbuild

dist-zilla dist-zilla-plugin dzil github-actions

Last synced: about 1 month ago
JSON representation

Require a successful GitHub Actions workflow run

Awesome Lists containing this project

README

        

# NAME

Dist::Zilla::Plugin::GitHub::RequireGreenBuild - Require a successful GitHub Actions workflow run

# SYNOPSIS

```
# in your dist.ini:
[GitHub::RequireGreenBuild]
```

# DESCRIPTION

This `Dist::Zilla` plugin checks your GitHub Actions for a successful run,
before allowing a release.

e.g. until we can determine that you have a green build for a GitHub Actions run
against `HEAD`, you're not allowed to release.

To determine whether or not a successful run exists, we page through all of
your GitHub Actions runs, to find a successful run for the current `HEAD` SHA.

This comes with the implicit expectation that you have already pushed your
commits back up to GitHub. If you haven't pushed, we find any runs matching the
current `HEAD`, and you won't be able to release.

# AUTHOR

Graham TerMarsch ([email protected])

# COPYRIGHT

Copyright (C) 2021-, Graham TerMarsch. All Rights Reserved.

This is free software; you can redistribute it and/or modify it under the same
license as Perl itself.

# SEE ALSO

- [Dist::Zilla](https://metacpan.org/pod/Dist%3A%3AZilla)
- [Dist::Zilla::Plugin::GitHub](https://metacpan.org/pod/Dist%3A%3AZilla%3A%3APlugin%3A%3AGitHub)