Skip to content

Commit

Permalink
create the git diff + only run on push/pr to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed May 14, 2024
1 parent 0712612 commit 5727e1f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/commit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: run-all-tests
name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
actions: read
Expand All @@ -15,6 +19,13 @@ jobs:
path: ivy
persist-credentials: false
fetch-depth: 100

- name: Fetch Commit Changes
id: fetch_changes
run: |
cd ivy
git fetch origin main
git diff origin/main HEAD --output="diff.txt"
- name: Install ivy and fetch binaries
run: |
Expand Down

0 comments on commit 5727e1f

Please sign in to comment.