Skip to content

Commit

Permalink
.github: Add action to run PatchCheck.py
Browse files Browse the repository at this point in the history
Signed-off-by: Michael D Kinney <[email protected]>
  • Loading branch information
mdkinney committed Feb 12, 2020
1 parent 27fb01a commit e347978
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Code Review

on:
pull_request:
branches:
- sandbox/master

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Run a one-line script
run: echo Hello, world!!!
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: Run git log
run: git log --oneline -n30
- name: Run dir
run: dir
- uses: actions/setup-python@v1
with:
python-version: '3.x'
architecture: 'x64'
- name: PatchCheck
run: python BaseTools/Scripts/PatchCheck.py ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}

0 comments on commit e347978

Please sign in to comment.