forked from l2beat/l2beat
-
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.
Merge pull request #10 from l2beat/main
[pull] main from l2beat:main
- Loading branch information
Showing
738 changed files
with
34,073 additions
and
3,668 deletions.
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
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,43 @@ | ||
name: Deploy backend stage | ||
|
||
concurrency: | ||
group: backend-deployment-stage | ||
permissions: {} | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy-backend: | ||
name: Deploy backend | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Install heroku CLI | ||
run: curl https://cli-assets.heroku.com/install-ubuntu.sh | sh | ||
- name: Login to heroku container registry | ||
uses: docker/login-action@v3 | ||
with: | ||
username: "_" | ||
password: ${{ secrets.HEROKU_TOKEN }} | ||
registry: registry.heroku.com | ||
- name: Build and publish containers | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true | ||
file: Dockerfile.backend | ||
build-args: | | ||
TURBO_TEAM=${{ vars.TURBO_TEAM }} | ||
TURBO_TOKEN=${{ secrets.TURBO_TOKEN }} | ||
tags: | | ||
registry.heroku.com/${{ secrets.HEROKU_BACKEND_DEV }}/web | ||
- name: Release published containers | ||
run: | | ||
heroku container:release -a ${{ secrets.HEROKU_BACKEND_DEV }} -v web | ||
env: | ||
HEROKU_ORGANIZATION: ${{ vars.HEROKU_ORG }} | ||
HEROKU_API_KEY: ${{ secrets.HEROKU_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
9 changes: 8 additions & 1 deletion
9
packages/backend/discovery/_templates/GnosisSafe/template.jsonc
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 |
---|---|---|
@@ -1,5 +1,12 @@ | ||
{ | ||
"$schema": "../../../../discovery/schemas/contract.v2.schema.json", | ||
"ignoreInWatchMode": ["nonce"], | ||
"ignoreMethods": ["getThreshold", "getOwners"] | ||
"ignoreMethods": ["getThreshold", "getOwners"], | ||
"fields": { | ||
"GnosisSafe_modules": { | ||
"target": { | ||
"permissions": [{ "type": "act" }] | ||
} | ||
} | ||
} | ||
} |
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
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
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
Oops, something went wrong.