-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: ensure changes go to xeon-dapp
- Loading branch information
Jon Bray
committed
Jul 28, 2024
1 parent
663f377
commit a5da2aa
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{ "test": "test" } |