Skip to content

Commit 6ec47c9

Browse files
ci: switch verification workflow to pull_request_target (#886)
Signed-off-by: tech0priyanshu <[email protected]>
1 parent 7eff15e commit 6ec47c9

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/bot-verified-commits.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: PythonBot - Verify PR Commits
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, synchronize]
66

77
permissions:
88
contents: read
99
pull-requests: write
10+
issues: write
1011

1112
concurrency:
1213
group: "verify-commits-${{ github.event.pull_request.number }}"
@@ -21,10 +22,7 @@ jobs:
2122
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
2223
with:
2324
egress-policy: audit
24-
25-
- name: Checkout repository
26-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
27-
25+
2826
- name: Check for unverified commits
2927
env:
3028
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
88

99
### Added
1010

11+
-Removed `actions/checkout@v4` from `bot-verified-commits.yml`
12+
1113
- Add comprehensive documentation for `ReceiptStatusError` in `docs/sdk_developers/training/receipt_status_error.md`
1214
- Add practical example `examples/errors/receipt_status_error.py` demonstrating transaction error handling
1315
- Document error handling patterns and best practices for transaction receipts
1416

17+
- fix `pull_request` to `pull_request_target` in `bot-verified-commits.yml`
1518
- Add detail to `token_airdrop.py` and `token_airdrop_cancel.py`
1619
- Add workflow: github bot to respond to unverified PR commits (#750)
1720
- Add workflow: bot workflow which notifies developers of workflow failures in their pull requests.
@@ -39,6 +42,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
3942
- Added `docs\sdk_developers\training\receipts.md` as a training guide for users to understand hedera receipts.
4043

4144
### Changed
45+
4246
- Upgraded step-security/harden-runner v2.13.2
4347
- bumped actions/checkout from 5.0.0 to 6.0.0
4448
- Limit workflow bot to one message per PR
@@ -58,7 +62,6 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
5862
- Staked node ID id issue in the account_create_transationt_e2e_test
5963
- workflow: verified commits syntax for verfication bot
6064

61-
6265
## [0.1.8] - 2025-11-07
6366

6467
### Added
@@ -87,6 +90,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
8790
- docs: Add `docs/sdk_developers/project_structure.md` to explain repository layout and import paths.
8891

8992
### Changed
93+
9094
- chore: renamed examples to match src where possible
9195
- Moved examples/ to be inside subfiles to match src structure
9296
- changed example script workflow to run on new subdirectory structure
@@ -155,6 +159,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
155159
- Added `docs/discord.md` explaining how to join and navigate the Hiero community Discord (#614).
156160

157161
### Changed
162+
158163
- Added direct links to Python SDK channel in Linux Foundation Decentralized Trust Discord back in
159164
- Updated all occurrences of non-functional Discord invite links throughout the documentation with the new, stable Hyperledger and Hedera invite links (#603).
160165
- Refactored TopicId class to use @dataclass decorator for reducing boilerplate code

0 commit comments

Comments
 (0)