Skip to content

Update single-commit.yml to branch main #441

Update single-commit.yml to branch main

Update single-commit.yml to branch main #441

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 main
run: git fetch origin main
- name: create local master branch
run: git branch main origin/main
- name: Commit Count Check
run: test `git log --oneline --no-merges HEAD ^main | wc -l ` = 1
runs-on: ubuntu-latest