[v10.0.x] Github Actions: Fix milestone GH action (#70499)

Github Actions: Fix milestone GH action (#70490)

* Remove secret from the caller action

* Inherit secrets for reusable actions

(cherry picked from commit 37db29db63)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
This commit is contained in:
grafana-delivery-bot[bot]
2023-06-22 19:15:49 +03:00
committed by GitHub
co-authored by Dimitris Sotirakis
parent 478b3640eb
commit 25875a7c00
3 changed files with 13 additions and 31 deletions
+2 -4
View File
@@ -11,9 +11,7 @@ on:
description: Needs to match, exactly, the name of a milestone
required: true
type: string
secrets:
token:
required: true
jobs:
main:
runs-on: ubuntu-latest
@@ -42,4 +40,4 @@ jobs:
uses: ./actions/remove-milestone
with:
version_call: ${{ inputs.version_call }}
token: ${{ secrets.token }}
token: ${{ steps.generate_token.outputs.token }}