Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bleargh45/dist-zilla-plugin-github-requiregreenbuild
- Owner: bleargh45
- Created: 2021-01-05T06:25:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-12T20:11:16.000Z (over 1 year ago)
- Last Synced: 2024-10-15T16:24:10.316Z (3 months ago)
- Topics: dist-zilla, dist-zilla-plugin, dzil, github-actions
- Language: Perl
- Homepage: https://metacpan.org/release/Dist-Zilla-Plugin-GitHub-RequireGreenBuild/
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
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)