Skip to content

Commit

Permalink
Add hook fee Github Action (#1)
Browse files Browse the repository at this point in the history
* add hook fee github action

* run action only if contracts dir is changed
  • Loading branch information
tequdev authored Mar 10, 2024
1 parent d79bb0b commit 3bc0d1b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/hook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Analyze Hooks
on:
push:
branches: [ "main" ]
paths:
- 'contracts/**'
pull_request:
branches: [ "main" ]
paths:
- 'contracts/**'
workflow_dispatch:
permissions:
pull-requests: write
jobs:
hook:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v4
- name: Analyze Hooks
uses: tequdev/xrpl-hook-fee-actions@v1
with:
inPath: contracts
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": true
"quickfix.biome": "explicit"
}
},
"[c]":{
"editor.defaultFormatter": "xaver.clang-format",
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
}
}
}

0 comments on commit 3bc0d1b

Please sign in to comment.