Skip to content

Commit 9a35f97

Browse files
authored
fix: Workflow permissions for test file naming checks and codecov (hiero-ledger#1168)
Signed-off-by: Manish Dait <[email protected]>
1 parent 64c3d17 commit 9a35f97

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/pr-check-codecov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
coverage:
1013
runs-on: ubuntu-latest

.github/workflows/pr-check-test-files.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches-ignore:
66
- main
77

8+
permissions:
9+
contents: read
10+
811
concurrency:
912
group: pr-checks-${{ github.workflow }}-${{ github.ref || github.run_id }}
1013
cancel-in-progress: true

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
9595
- Fixed solo workflow defaulting to zero
9696
- Fix unit test tet_query.py
9797
- TLS Hostname Mismatch & Certificate Verification Failure for Nodes
98+
- Workflow does not contain permissions for `pr-check-test-files` and `pr-check-codecov`
9899

99100
### Breaking Change
100101

0 commit comments

Comments
 (0)