Skip to content

Commit 619ee49

Browse files
authored
Update release.yml
1 parent 3295879 commit 619ee49

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
jobs:
99
release:
10+
permissions: write-all
1011
runs-on: ubuntu-latest
1112
env:
1213
GRAFANA_API_KEY: ${{ secrets.PLUGIN_SINGING_TOKEN }} # Requires a Grafana API key from Grafana.com.
@@ -97,13 +98,13 @@ jobs:
9798
md5sum ${{ steps.metadata.outputs.archive }} > ${{ steps.metadata.outputs.archive-checksum }}
9899
echo "checksum=$(cat ./${{ steps.metadata.outputs.archive-checksum }} | cut -d' ' -f1)" >> $GITHUB_OUTPUT
99100
100-
# - name: Validate plugin
101-
# run: |
102-
# git clone https://github.com/grafana/plugin-validator
103-
# pushd ./plugin-validator/pkg/cmd/plugincheck2
104-
# go install
105-
# popd
106-
# plugincheck2 -config ./plugin-validator/config/default.yaml ${{ steps.metadata.outputs.archive }}
101+
- name: Validate plugin
102+
run: |
103+
git clone https://github.com/grafana/plugin-validator
104+
pushd ./plugin-validator/pkg/cmd/plugincheck2
105+
go install
106+
popd
107+
plugincheck2 -config ./plugin-validator/config/default.yaml ${{ steps.metadata.outputs.archive }}
107108
108109
- name: Create Github release
109110
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)