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

https://github.com/starryinternet/fail-on-fixups

Github action workflow to fail PR builds when fixups commits exist
https://github.com/starryinternet/fail-on-fixups

Last synced: about 1 year ago
JSON representation

Github action workflow to fail PR builds when fixups commits exist

Awesome Lists containing this project

README

          

# fail-on-fixups

Nothing fancy here, just a tiny action workflow to fail a PR build if it contains fixup commits. The motivation here is to keep mainline branches clean and easy to read.

# Installation

To configure the action simply add the following lines to your `.github/workflows/fail-on-fixups.yml` workflow file:

```yml
on: [push]
name: Fail-on-fixups
jobs:
fail-on-fixups:
name: Fail-on-fixups
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v4
with:
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
- name: Fail-on-fixups
uses: StarryInternet/fail-on-fixups@master
```