Skip to content

Commit

Permalink
chore: test workflow remove chmod combine pull push
Browse files Browse the repository at this point in the history
  • Loading branch information
robproject committed Oct 22, 2023
1 parent a95b829 commit e4cb03c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,13 @@ jobs:
pip install rich
pip install json_source_map
# wget https://raw.githubusercontent.com/robproject/fsjd/main/frappe_schema_json_diff.py
chmod +x ./frappe_schema_json_diff.py
echo "GIT_EXTERNAL_DIFF=./frappe_schema_json_diff.py" >> $GITHUB_ENV
echo "TABLE_MODE=1" >> $GITHUB_ENV
- name: Diff on push
if: github.event_name == 'push'
- name: Diff
run: |
git --no-pager diff HEAD~1 HEAD
- name: Diff on pull
if: github.event_name == 'pull_request'
run: |
git fetch origin ${{ github.base_ref }}:${{ github.base_ref }}
git --no-pager diff HEAD~1 HEAD
git --no-pager diff ${{ github.base_ref }}...HEAD

0 comments on commit e4cb03c

Please sign in to comment.