Skip to content

Commit c1b4289

Browse files
authored
Merge pull request #169 from github/jm_workflow_perms
chore: update workflows
2 parents d0e5fd0 + e0a82b4 commit c1b4289

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.github/release-drafter.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ version-resolver:
3636
minor:
3737
labels:
3838
- "enhancement"
39-
- "fix"
39+
- "feature"
4040
- "minor"
4141
patch:
4242
labels:
4343
- "documentation"
44+
- "fix"
4445
- "maintenance"
4546
- "patch"
4647
default: patch

.github/workflows/auto-labeler.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ permissions:
99
jobs:
1010
main:
1111
permissions:
12-
contents: write
12+
contents: read
1313
pull-requests: write
14-
uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@1406afbf7a795f706f04644059cecbb3b2f0c1a0
14+
uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
1515
with:
1616
config-name: release-drafter.yml
1717
secrets:

.github/workflows/pr-title.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
contents: read
1313
pull-requests: read
1414
statuses: write
15-
uses: github/ospo-reusable-workflows/.github/workflows/pr-title.yaml@1406afbf7a795f706f04644059cecbb3b2f0c1a0
15+
uses: github/ospo-reusable-workflows/.github/workflows/pr-title.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
1616
secrets:
1717
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
contents: write
1414
pull-requests: read
15-
uses: github/ospo-reusable-workflows/.github/workflows/release.yaml@53a9c808122ffaae9af948f72139fb4bd44ab74c
15+
uses: github/ospo-reusable-workflows/.github/workflows/release.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
1616
with:
1717
publish: true
1818
release-config-name: release-drafter.yml
@@ -21,11 +21,11 @@ jobs:
2121
release_image:
2222
needs: release
2323
permissions:
24-
contents: write
25-
discussions: write
24+
contents: read
2625
packages: write
27-
pull-requests: read
28-
uses: github/ospo-reusable-workflows/.github/workflows/release-image.yaml@53a9c808122ffaae9af948f72139fb4bd44ab74c
26+
id-token: write
27+
attestations: write
28+
uses: github/ospo-reusable-workflows/.github/workflows/release-image.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
2929
with:
3030
image-name: ${{ github.repository }}
3131
full-tag: ${{ needs.release.outputs.full-tag }}
@@ -40,7 +40,7 @@ jobs:
4040
permissions:
4141
contents: read
4242
discussions: write
43-
uses: github/ospo-reusable-workflows/.github/workflows/release-discussion.yaml@53a9c808122ffaae9af948f72139fb4bd44ab74c
43+
uses: github/ospo-reusable-workflows/.github/workflows/release-discussion.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
4444
with:
4545
full-tag: ${{ needs.release.outputs.full-tag }}
4646
body: ${{ needs.release.outputs.body }}

0 commit comments

Comments
 (0)