Skip to content

feat!: convert reusable workflows to composite actions #326

feat!: convert reusable workflows to composite actions

feat!: convert reusable workflows to composite actions #326

# This isn't a reusable workflow but an actual CI action for this repo itself - to test the workflows.
name: Danger Workflow Tests
on:
pull_request:
types: [opened, synchronize, reopened, edited, ready_for_review]
jobs:
danger:
runs-on: ubuntu-latest
outputs:
outcome: ${{ steps.danger.outputs.outcome }}
steps:
- uses: actions/checkout@v4
- name: Run danger action
id: danger
uses: ./danger
test-outputs:
runs-on: ubuntu-latest
needs: danger
steps:
- run: "[[ '${{ needs.danger.outputs.outcome }}' == 'success' ]]"