Skip to content

Commit 437ee04

Browse files
author
JM (Jason Meridth)
authored
Merge pull request #310 from github-community-projects/jm_workflow_perms_udpates
chore: update workflows
2 parents 27c97b5 + d49ffe6 commit 437ee04

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ template: |
55
# Changelog
66
$CHANGES
77
8-
See details of [all code changes](https://github.com/github-community-projects/private-mirrors/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release
8+
See details of [all code changes](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release
99
1010
categories:
1111
- title: '🚀 Features'

.github/workflows/auto-labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ permissions:
1212
jobs:
1313
main:
1414
permissions:
15-
contents: write
15+
contents: read
1616
pull-requests: write
17-
uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@1406afbf7a795f706f04644059cecbb3b2f0c1a0
17+
uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
1818
with:
1919
config-name: release-drafter.yml
2020
secrets:

.github/workflows/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
contents: read
2020
pull-requests: read
2121
statuses: write
22-
uses: github/ospo-reusable-workflows/.github/workflows/pr-title.yaml@1406afbf7a795f706f04644059cecbb3b2f0c1a0
22+
uses: github/ospo-reusable-workflows/.github/workflows/pr-title.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
2323
secrets:
2424
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
permissions:
1818
contents: write
1919
pull-requests: read
20-
uses: github/ospo-reusable-workflows/.github/workflows/release.yaml@53a9c808122ffaae9af948f72139fb4bd44ab74c
20+
uses: github/ospo-reusable-workflows/.github/workflows/release.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
2121
with:
2222
publish: true
2323
release-config-name: release-drafter.yml
@@ -26,15 +26,16 @@ jobs:
2626
release_image:
2727
needs: release
2828
permissions:
29-
contents: write
30-
discussions: write
29+
contents: read
3130
packages: write
32-
pull-requests: read
33-
uses: github/ospo-reusable-workflows/.github/workflows/release-image.yaml@53a9c808122ffaae9af948f72139fb4bd44ab74c
31+
id-token: write
32+
attestations: write
33+
uses: github/ospo-reusable-workflows/.github/workflows/release-image.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
3434
with:
3535
image-name: ${{ github.repository }}
3636
full-tag: ${{ needs.release.outputs.full-tag }}
3737
short-tag: ${{ needs.release.outputs.short-tag }}
38+
create-attestation: true
3839
secrets:
3940
github-token: ${{ secrets.GITHUB_TOKEN }}
4041
image-registry: ghcr.io

0 commit comments

Comments
 (0)