Github Actions: Fix milestone GH action (#70490)

* Remove secret from the caller action

* Inherit secrets for reusable actions
This commit is contained in:
Dimitris Sotirakis
2023-06-22 12:39:51 +03:00
committed by GitHub
parent c45ff94806
commit 37db29db63
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 }}