chore: Add secret input (#156)

Add secret input
This commit is contained in:
Anatolios Laskaris 2023-06-22 18:54:06 +03:00 committed by GitHub
parent 5eccd3c0bb
commit b01eae5a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,10 @@ on:
description: 'Contents of fluence.json file'
type: string
required: true
secrets:
token:
description: 'A token passed from the caller workflow'
required: true
jobs:
update:
@ -16,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
token: ${{ secrets.token }}
- name: Update Fluence in fluence.json to ${{ github.event.inputs.version }}
run: echo ${{ inputs.version }} | jq > fluence/fluence.json