Skip to content

Commit 33d8e45

Browse files
committed
chore: update workflows
- [x] update ospo-reusable-workflows version - prevents auto-labeler creating draft releases - [x] update permissions - release-image, allows for attestations, if enabled - auto-labler, content: read Signed-off-by: jmeridth <[email protected]>
1 parent 4032019 commit 33d8e45

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

Diff for: .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

Diff for: .github/workflows/auto-labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
contents: write
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:

Diff for: .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 }}

Diff for: .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_owner }}/issue_metrics
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)