Skip to content

Commit b574967

Browse files
committed
update github workflows names for consistency
1 parent 537c12d commit b574967

File tree

3 files changed

+87
-87
lines changed

3 files changed

+87
-87
lines changed

.github/workflows/build-manage-multisig-config-tx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Manage Multisig Config
1+
name: Build Multisig Config Transaction
22

33
on:
44
workflow_dispatch:
Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
name: Manage Protocol Version
1+
name: Build Protocol Version Transaction
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
action_type:
7-
description: "Select action"
8-
type: choice
9-
options:
10-
- Enable Version
11-
- Disable Version
12-
target_version:
13-
description: "Protocol Version Number (e.g., 1, 2, etc.)"
14-
required: true
15-
type: string
4+
workflow_dispatch:
5+
inputs:
6+
action_type:
7+
description: "Select action"
8+
type: choice
9+
options:
10+
- Enable Version
11+
- Disable Version
12+
target_version:
13+
description: "Protocol Version Number (e.g., 1, 2, etc.)"
14+
required: true
15+
type: string
1616

1717
jobs:
18-
build-version-tx:
19-
runs-on: ubuntu-latest
20-
env:
21-
# Multisig specific config (can be secrets or vars)
22-
MULTISIG_ADDRESS: ${{ vars.MULTISIG_ADDRESS }}
23-
MULTISIG_SIGNERS_BASE64_PUBKEYS: ${{ vars.MULTISIG_SIGNERS_BASE64_PUBKEYS }}
24-
MULTISIG_THRESHOLD: ${{ vars.MULTISIG_THRESHOLD }}
25-
MULTISIG_WEIGHTS: ${{ vars.MULTISIG_WEIGHTS }}
18+
build-version-tx:
19+
runs-on: ubuntu-latest
20+
env:
21+
# Multisig specific config (can be secrets or vars)
22+
MULTISIG_ADDRESS: ${{ vars.MULTISIG_ADDRESS }}
23+
MULTISIG_SIGNERS_BASE64_PUBKEYS: ${{ vars.MULTISIG_SIGNERS_BASE64_PUBKEYS }}
24+
MULTISIG_THRESHOLD: ${{ vars.MULTISIG_THRESHOLD }}
25+
MULTISIG_WEIGHTS: ${{ vars.MULTISIG_WEIGHTS }}
2626

27-
# Dynamic Inputs
28-
PROTOCOL_VERSION: ${{ inputs.target_version }}
29-
steps:
30-
- name: Checkout Code
31-
uses: actions/checkout@v4
27+
# Dynamic Inputs
28+
PROTOCOL_VERSION: ${{ inputs.target_version }}
29+
steps:
30+
- name: Checkout Code
31+
uses: actions/checkout@v4
3232

33-
- name: Setup Node.js
34-
uses: actions/setup-node@v4
35-
with:
36-
node-version: 20
33+
- name: Setup Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 20
3737

38-
- name: Install Dependencies
39-
run: npm ci
38+
- name: Install Dependencies
39+
run: npm ci
4040

41-
- name: Build Enable Version Transaction
42-
if: ${{ inputs.action_type == 'Enable Version' }}
43-
run: npx tsx examples/treasury/versions/enable-version.ts
41+
- name: Build Enable Version Transaction
42+
if: ${{ inputs.action_type == 'Enable Version' }}
43+
run: npx tsx examples/treasury/versions/enable-version.ts
4444

45-
- name: Build Disable Version Transaction
46-
if: ${{ inputs.action_type == 'Disable Version' }}
47-
run: npx tsx examples/treasury/versions/disable-version.ts
45+
- name: Build Disable Version Transaction
46+
if: ${{ inputs.action_type == 'Disable Version' }}
47+
run: npx tsx examples/treasury/versions/disable-version.ts
Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
1-
name: Withdraw Fees Transaction
1+
name: Build Withdraw Fees Transaction
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
withdrawal_type:
7-
description: "Select what to withdraw"
8-
type: choice
9-
options:
10-
- Withdraw Protocol Fees
11-
- Withdraw Coverage Fees
12-
- Withdraw DEEP Reserves
13-
tickets:
14-
description: "Comma-separated list of Ticket Object IDs (e.g. 0x123..., 0xabc...)"
15-
required: true
16-
type: string
4+
workflow_dispatch:
5+
inputs:
6+
withdrawal_type:
7+
description: "Select what to withdraw"
8+
type: choice
9+
options:
10+
- Withdraw Protocol Fees
11+
- Withdraw Coverage Fees
12+
- Withdraw DEEP Reserves
13+
tickets:
14+
description: "Comma-separated list of Ticket Object IDs (e.g. 0x123..., 0xabc...)"
15+
required: true
16+
type: string
1717

1818
jobs:
19-
build-withdraw-tx:
20-
runs-on: ubuntu-latest
21-
env:
22-
# Multisig specific config (can be secrets or vars)
23-
MULTISIG_ADDRESS: ${{ vars.MULTISIG_ADDRESS }}
24-
MULTISIG_SIGNERS_BASE64_PUBKEYS: ${{ vars.MULTISIG_SIGNERS_BASE64_PUBKEYS }}
25-
MULTISIG_THRESHOLD: ${{ vars.MULTISIG_THRESHOLD }}
26-
MULTISIG_WEIGHTS: ${{ vars.MULTISIG_WEIGHTS }}
27-
28-
# Dynamic Inputs
29-
TICKETS: ${{ inputs.tickets }}
30-
steps:
31-
- name: Checkout Code
32-
uses: actions/checkout@v4
33-
34-
- name: Setup Node.js
35-
uses: actions/setup-node@v4
36-
with:
37-
node-version: 20
38-
39-
- name: Install Dependencies
40-
run: npm ci
41-
42-
- name: Build Protocol Fees Withdrawal
43-
if: ${{ inputs.withdrawal_type == 'Withdraw Protocol Fees' }}
44-
run: npx tsx examples/ticket/admin-withdraw-protocol-fee.ts
45-
46-
- name: Build Coverage Fees Withdrawal
47-
if: ${{ inputs.withdrawal_type == 'Withdraw Coverage Fees' }}
48-
run: npx tsx examples/ticket/admin-withdraw-all-coins-coverage-fee.ts
49-
50-
- name: Build DEEP Reserves Withdrawal
51-
if: ${{ inputs.withdrawal_type == 'Withdraw DEEP Reserves' }}
52-
run: npx tsx examples/ticket/admin-withdraw-all-deep-reserves.ts
19+
build-withdraw-tx:
20+
runs-on: ubuntu-latest
21+
env:
22+
# Multisig specific config (can be secrets or vars)
23+
MULTISIG_ADDRESS: ${{ vars.MULTISIG_ADDRESS }}
24+
MULTISIG_SIGNERS_BASE64_PUBKEYS: ${{ vars.MULTISIG_SIGNERS_BASE64_PUBKEYS }}
25+
MULTISIG_THRESHOLD: ${{ vars.MULTISIG_THRESHOLD }}
26+
MULTISIG_WEIGHTS: ${{ vars.MULTISIG_WEIGHTS }}
27+
28+
# Dynamic Inputs
29+
TICKETS: ${{ inputs.tickets }}
30+
steps:
31+
- name: Checkout Code
32+
uses: actions/checkout@v4
33+
34+
- name: Setup Node.js
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: 20
38+
39+
- name: Install Dependencies
40+
run: npm ci
41+
42+
- name: Build Protocol Fees Withdrawal
43+
if: ${{ inputs.withdrawal_type == 'Withdraw Protocol Fees' }}
44+
run: npx tsx examples/ticket/admin-withdraw-protocol-fee.ts
45+
46+
- name: Build Coverage Fees Withdrawal
47+
if: ${{ inputs.withdrawal_type == 'Withdraw Coverage Fees' }}
48+
run: npx tsx examples/ticket/admin-withdraw-all-coins-coverage-fee.ts
49+
50+
- name: Build DEEP Reserves Withdrawal
51+
if: ${{ inputs.withdrawal_type == 'Withdraw DEEP Reserves' }}
52+
run: npx tsx examples/ticket/admin-withdraw-all-deep-reserves.ts

0 commit comments

Comments
 (0)