Skip to content

Commit

Permalink
Merge pull request #88 from TerrenceMcGuinness-NOAA/feature_1643_badges
Browse files Browse the repository at this point in the history
Update testhera.yaml
  • Loading branch information
TerrenceMcGuinness-NOAA committed May 31, 2023
2 parents 4f65a20 + cd0554d commit 22aedfe
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/testhera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,11 @@ jobs:
steps:
- name: get lables steps
id: get_labels_id
run: |
labels="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')" >> $GITHUB_OUTPUT
echo "$labels"
echo "test=$FOO" >> $GITHUB_OUTPUT
env:
FOO: foobar
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}

run: |
echo "test=$FOO" >> $GITHUB_OUTPUT
test:
runs-on: ubuntu-latest
needs:
Expand All @@ -35,8 +29,6 @@ jobs:
steps:
- name: Test
run: |
echo "labels: $labels"
echo "test: $test"
env:
labels: ${{ needs.get_labels.outputs.labels }}
test: ${{ needs.get_labels.outputs.test }}

0 comments on commit 22aedfe

Please sign in to comment.