Fixes #10946 - Make user email optional if email is disabled #8818
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Assert Single Commit (non-blocking) | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
build: | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 30 | |
- name: Checkout target branch | |
run: git fetch origin ${{ github.base_ref }} | |
- name: Commit Count Check | |
run: test `git log --oneline --no-merges HEAD ^origin/${{ github.base_ref }} | wc -l ` = 1 | |
runs-on: ubuntu-latest |