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 authored and GitHub committed 2023-06-22 12:39:51 +03:00
1 parent c45ff94806
commit 37db29db63
3 files changed
+13 -31

No files matched your search

+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/close-milestone
with:
version_call: ${{ inputs.version_call }}
token: ${{ secrets.token }}
token: ${{ steps.generate_token.outputs.token }}