Skip to content

Use Foreman GH Actions #2

Use Foreman GH Actions

Use Foreman GH Actions #2

Workflow file for this run

name: Assert Single Commit (non-blocking)
on: pull_request
jobs:
build:
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 30
- name: Checkout master
run: git fetch origin master
- name: create local master branch
run: git branch master origin/master
- name: Commit Count Check
run: test `git log --oneline --no-merges HEAD ^master | wc -l ` = 1
runs-on: ubuntu-latest