Skip to content

Commit 024db6a

Browse files
committed
Enable provenance attestation
1 parent e68c8ee commit 024db6a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
tags:
55
- '[0-9]+.[0-9]+.[0-9]+'
66
permissions:
7-
# Write permissions required to create a release
8-
# Ref: https://stackoverflow.com/a/69941765
7+
id-token: write
98
contents: write
9+
attestations: write
1010
jobs:
1111
release:
1212
runs-on: ubuntu-latest
@@ -99,4 +99,8 @@ jobs:
9999
files: |
100100
sentinelone-dataset-datasource-${{ steps.version.outputs.version }}.zip
101101
SHA256SUMS
102+
- uses: grafana/plugin-actions/build-plugin@main
103+
with:
104+
policy_token: ${{ secrets.GRAFANA_API_KEY }}
105+
attestation: true
102106
# TODO Consider automating the grafana.com publish process here

0 commit comments

Comments
 (0)