https://github.com/fumieval/tocenbough
https://github.com/fumieval/tocenbough
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fumieval/tocenbough
- Owner: fumieval
- Created: 2023-03-02T08:23:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T06:10:04.000Z (about 2 years ago)
- Last Synced: 2025-03-26T06:44:06.298Z (about 1 year ago)
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
tocenbough: prevent accumulating too many unreleased changes
====
tocenbough counts the number of merge commits since the latest release.
Whenever the number of merge commits exceeds the specified threshold, this action fails.
```
name: tocenbough
on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
jobs:
cd:
runs-on: ubuntu-latest
steps:
- uses: fumieval/tocenbough@v0
with:
token: ${{ secrets.GITHUB_TOKEN }}
threshold: 10
```