Skip to content

Commit f5c4071

Browse files
committed
Enable release provenance attestation
1 parent 276495c commit f5c4071

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ jobs:
1313
release:
1414
permissions:
1515
contents: write
16+
id-token: write
17+
attestations: write
1618
runs-on: ubuntu-latest
1719
steps:
1820
- uses: actions/checkout@v4
1921
- uses: grafana/plugin-actions/build-plugin@release
20-
# Uncomment to enable plugin signing
21-
# (For more info on how to generate the access policy token see https://grafana.com/developers/plugin-tools/publish-a-plugin/sign-a-plugin#generate-an-access-policy-token)
22-
#with:
23-
# Make sure to save the token in your repository secrets
24-
#policy_token: $
25-
# Usage of GRAFANA_API_KEY is deprecated, prefer `policy_token` option above
26-
#grafana_token: $
22+
with:
23+
policy_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}
24+
attestation: true

0 commit comments

Comments
 (0)