File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 4242 echo "TARGET_BRANCH=${{ github.event.pull_request.base.ref }}" >> $GITHUB_ENV
4343
4444 - name : Determine base and target branches for comparison
45- if : e ${{ env.IS_LOCAL == 'true' }}
45+ if : ${{ env.IS_LOCAL == 'true' }}
4646 run : |
4747 echo "CURRENT_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
4848 echo "TARGET_BRANCH=master" >> $GITHUB_ENV
@@ -51,11 +51,12 @@ jobs:
5151 run : |
5252 echo "CURRENT_BRANCH=$CURRENT_BRANCH"
5353 echo "TARGET_BRANCH=$TARGET_BRANCH"
54-
55- - if : ${{ env.IS_LOCAL == 'false' }}
54+ - name : Compare target and current branches.
55+ if : ${{ env.IS_LOCAL == 'false' }}
5656 run : git diff origin/$TARGET_BRANCH forkUpstream/$CURRENT_BRANCH > diff_output.txt
5757
58- - if : ${{ env.IS_LOCAL == 'true' }}
58+ - name : Compare target and current branches.
59+ if : ${{ env.IS_LOCAL == 'true' }}
5960 run : git diff origin/$TARGET_BRANCH $CURRENT_BRANCH > diff_output.txt
6061
6162 - run : npm install -g jscpd
You can’t perform that action at this time.
0 commit comments