Skip to content

Commit

Permalink
Merge pull request #29 from TerrenceMcGuinness-NOAA/feature_1643_badges
Browse files Browse the repository at this point in the history
added GITHUB_ENV with LABLES=value
  • Loading branch information
TerrenceMcGuinness-NOAA committed May 30, 2023
2 parents 72b9188 + 32e91f9 commit b12b763
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: |
LABELS="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')"
LABELS="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')" >> $GITHUB_ENV
echo "$LABELS"
shell: bash
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/orion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: |
LABELS="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')"
echo "$LABELS" >> $GITHUB_ENV
LABELS="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')" >> $GITHUB_ENV
echo "$LABELS"
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit b12b763

Please sign in to comment.