Skip to content

Commit

Permalink
Merge pull request #37 from TerrenceMcGuinness-NOAA/feature_1643_badges
Browse files Browse the repository at this point in the history
syntax4 fix for added output need hera action
  • Loading branch information
TerrenceMcGuinness-NOAA committed May 30, 2023
2 parents 480959a + 7bc80dd commit 03380c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
get_labels:
runs-on: ubuntu-latest
outputs:
labels: ${{ steps.get_labels_id.outputs.labels }}
output_labels: ${{ steps.get_labels_id.outputs.labels }}
steps:
- name: Get the PR labels dynamically
id: getr_labels_id
id: get_labels_id
run: |
labels="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')" >> $GITHUB_OUTPUT
echo "$labels"
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Passed
uses: schneegans/dynamic-badges-action@v1.6.0
with:
input_var: ${{ needs.get_labels.outputs.labels }}
input_labels: ${{ needs.get_labels.outputs.output_labels }}
auth: ${{ secrets.CLI_DYNAMIC_BADGES }}
gistID: 13060fc1a0cd9368a4ee94171785fe9d
filename: hera.json
Expand Down

0 comments on commit 03380c8

Please sign in to comment.