Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
chore: Add secret input (#156)
Browse files Browse the repository at this point in the history
Add secret input
  • Loading branch information
nahsi committed Jun 22, 2023
1 parent 5eccd3c commit b01eae5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/update_fluence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit b01eae5

Please sign in to comment.