Skip to content

Commit 0238577

Browse files
authored
chore: apply direct hash and set permissions in actions token (#6)
1 parent c91a556 commit 0238577

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
release:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: googleapis/release-please-action@v4
18+
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
1919
id: release
2020
with:
2121
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/validate.yml

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
validate:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)