File tree Expand file tree Collapse file tree 1 file changed +17
-27
lines changed
Expand file tree Collapse file tree 1 file changed +17
-27
lines changed Original file line number Diff line number Diff line change @@ -29,33 +29,23 @@ This reusable GitHub Actions workflow automates the process of proposing transac
2929 In another workflow file, invoke this reusable workflow like so:
3030
3131 ``` yaml
32- name : Propose Safe Transaction
33- on :
34- workflow_dispatch :
35- inputs :
36- safe-address :
37- description : ' Safe contract address'
38- required : true
39- transaction-to :
40- description : ' Target contract address'
41- required : true
42- transaction-data :
43- description : ' Transaction data (0x prefixed)'
44- required : false
45- default : ' 0x'
46-
47- jobs :
48- safe-transaction :
49- uses : ./.github/workflows/propose-safe-multisig-tx.yml
50- secrets :
51- safe-proposer-private-key : ${{ secrets.SAFE_PROPOSER_PRIVATE_KEY }}
52- safe-api-key : ${{ secrets.SAFE_API_KEY }}
53- with :
54- rpc-url : ${{ vars.RPC_URL }}
55- safe-address : ${{ inputs.safe-address }}
56- transaction-to : ${{ inputs.transaction-to }}
57- transaction-value : ${{ inputs.transaction-value }}
58- transaction-data : ${{ inputs.transaction-data }}
32+ name : Upgrade contract
33+
34+ on :
35+ workflow_dispatch :
36+
37+ jobs :
38+ upgrade :
39+ uses : ./.github/workflows/propose-safe-multisig-tx.yml
40+ secrets :
41+ safe-proposer-private-key : ${{ secrets.SAFE_PROPOSER_PRIVATE_KEY }}
42+ safe-api-key : ${{ secrets.SAFE_API_KEY }}
43+ with :
44+ rpc-url : ' https://...'
45+ safe-address : ' 0xab...'
46+ transaction-to : ' 0xcd...'
47+ transaction-value : ' 0'
48+ transaction-data : ' 0xef' # Upgrade transaction calldata
5949 ` ` `
6050
61512. **Configure Secrets**
You can’t perform that action at this time.
0 commit comments