Fixes #36797 - Update API in preparation for SCA-only #7789
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: | |
branches: [ master ] | |
jobs: | |
single_commit: | |
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 |