Skip to content

Commit 7594f41

Browse files
committed
chore: update README to reflect workflow usage changes and remove obsolete workflow file
1 parent 173fe2c commit 7594f41

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

safe-transaction/.github/workflows/safe-transaction.yml renamed to .github/workflows/safe-transaction.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,15 @@ jobs:
6565

6666
- name: Install dependencies
6767
run: npm ci
68+
working-directory: ./safe-transaction
6869

6970
- name: Build action
7071
run: npm run build
72+
working-directory: ./safe-transaction
7173

7274
- name: Propose Safe Transaction
7375
run: node dist/index.js
76+
working-directory: ./safe-transaction
7477
env:
7578
INPUT_PROPOSER_PRIVATE_KEY: ${{ inputs.proposer-private-key }}
7679
INPUT_RPC_URL: ${{ inputs.rpc-url }}

safe-transaction/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ This reusable GitHub Actions workflow automates the process of creating and prop
3333

3434
## How to Use This Reusable Workflow 🔄
3535

36-
1. **Save the Workflow File**
37-
Place the `safe-transaction.yml` file in the `.github/workflows/` directory of your repository. 💾
3836

39-
2. **Call the Reusable Workflow**
37+
1. **Call the Reusable Workflow**
4038
In another workflow file, invoke this reusable workflow like so:
4139

4240
```yaml
@@ -68,7 +66,7 @@ This reusable GitHub Actions workflow automates the process of creating and prop
6866
transaction-data: ${{ inputs.transaction-data }}
6967
```
7068
71-
3. **Configure Secrets**
69+
2. **Configure Secrets**
7270
Ensure that the required secrets are added to your repository's settings:
7371
- `PROPOSER_PRIVATE_KEY`: The private key of the wallet that will propose the transaction
7472
- `SAFE_API_KEY`: Your Safe API key for the transaction service

0 commit comments

Comments
 (0)