File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 99 release :
1010 runs-on : ubuntu-latest
1111 permissions :
12+ id-token : write
1213 contents : write
14+ attestations : write
1315 actions : write
1416 env :
1517 GRAFANA_ACCESS_POLICY_TOKEN : ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} # Requires a Grafana policy token from Grafana.com.
1618 steps :
1719 - uses : actions/checkout@v4
1820
21+ - uses : grafana/plugin-actions/build-plugin@main
22+ with :
23+ # refer to https://grafana.com/developers/plugin-tools/publish-a-plugin/sign-a-plugin#generate-an-access-policy-token to generate it
24+ # save the value in your repository secrets
25+ policy_token : ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}
26+ attestation : true
27+
1928 - name : Setup Node.js environment
2029 uses : actions/setup-node@v4
2130 with :
You can’t perform that action at this time.
0 commit comments