Skip to content

Commit

Permalink
chore: fix danger output
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Sep 16, 2022
1 parent 01c8d25 commit 50f2664
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
outputs:
outcome:
description: Whether the Danger run finished successfully. Possible values are success, failure, cancelled, or skipped.
value: ${{ jobs.danger.steps.danger.outcome }}
value: ${{ jobs.danger.outputs.outcome }}

jobs:
danger:
runs-on: ubuntu-latest
outputs:
outcome: ${{ steps.danger.outcome }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -31,3 +33,10 @@ jobs:
-e DANGER_DISABLE_TRANSPILATION="true" \
ghcr.io/danger/danger-js:11.1.2 \
--failOnErrors --dangerfile ${{ runner.temp }}/dangerfile.js
# - name: Store outputs
# if: ${{ always() }}
# id: out
# run: |
# echo "::echo::on"
# echo "::set-output name=outcome::${{ steps.danger.outcome }}"
2 changes: 1 addition & 1 deletion .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Keep the major version tags up-to-date
name: Sync tags with releases

on:
release:
Expand Down

0 comments on commit 50f2664

Please sign in to comment.