Skip to content

Commit

Permalink
ci: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicoulaud-ledger committed Jun 20, 2024
1 parent cdaae0e commit 96091ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,16 @@ jobs:
name: Validate files and format
if: ${{ success() && github.event_name == 'pull_request' }}
id: validation
continue-on-error: true
shell: bash
run: |
echo 'validation_output<<EOF' >> $GITHUB_OUTPUT
pipenv run validate_files >> $GITHUB_OUTPUT
ret=$?
[[ $? ]] && result="success" || result="failure"
echo 'EOF' >> $GITHUB_OUTPUT
exit $ret
echo "result=$result" >> $GITHUB_OUTPUT
- name: Add failure report comment
if: ${{ steps.validation.outcome != 'success' && github.event_name == 'pull_request' }}
if: ${{ steps.validation.outputs.result != 'success' && github.event_name == 'pull_request' }}
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: validation_result
Expand All @@ -79,7 +78,7 @@ jobs:
</pre>
- name: Add success report comment
if: ${{ steps.validation.outcome == 'success' && github.event_name == 'pull_request' }}
if: ${{ steps.validation.outputs.result == 'success' && github.event_name == 'pull_request' }}
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: validation_result
Expand Down
2 changes: 1 addition & 1 deletion arbitrum/permit/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"label": "Permit USDC (bridged) transfers"
},
"schema": {
"EIP712Domain": [
"EIP712Dodmain": [
{
"name": "name",
"type": "string"
Expand Down

0 comments on commit 96091ca

Please sign in to comment.