Merge pull request #334 from wilfonba/bugFixes #187
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: Check Line Counts | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
sz: | |
name: Core MFC Line Difference | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code from PR branch | |
uses: actions/checkout@v4 | |
with: | |
path: pr | |
- name: Checkout code from MFC master | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.event.pull_request.repository }} | |
ref: ${{ github.event.pull_request.base.ref }} | |
path: base | |
# repository: MFlowCode/MFC | |
# ref: master | |
# path: base | |
- name: Get Line Diff | |
run: | | |
BASE="$GITHUB_WORKSPACE/base" | |
PR="$GITHUB_WORKSPACE/pr" | |
cd $BASE | |
export MFC_PR=$PR | |
pwd | |
./mfc.sh count_diff | |