Skip to content

Commit

Permalink
test: ensure changes go to xeon-dapp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Bray committed Jul 28, 2024
1 parent 663f377 commit a5da2aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/sync-abi-to-dapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ jobs:
git clone [email protected]:xeon-protocol/xeon-dapp.git
cd xeon-dapp
git checkout -B ci/abi-sync || git checkout --orphan ci/abi-sync
rsync -a ../abi/ src/abi/
rsync -a ../v1-core/abi/ src/abi/
- name: Check ABI File Naming
if: steps.check_changes.outputs.changed == '1'
uses: ./.github/actions/check-abi-naming

- name: Commit and push changes
Expand All @@ -59,12 +60,15 @@ jobs:
fi
- name: List changed files
if: steps.check_changes.outputs.changed == '1'
id: changes
run: |
cd xeon-dapp
CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD)
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
- name: Create Pull Request
if: steps.check_changes.outputs.changed == '1'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions abi/TestAutomation.abi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "test": "test" }

0 comments on commit a5da2aa

Please sign in to comment.