diff --git a/.github/workflows/hook.yml b/.github/workflows/hook.yml new file mode 100644 index 0000000..b414328 --- /dev/null +++ b/.github/workflows/hook.yml @@ -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 diff --git a/.vscode/settings.json b/.vscode/settings.json index 7a0100e..732f8e4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" } } }