diff --git a/.github/workflows/dorothy-workflow.yml b/.github/workflows/dorothy-workflow.yml index 2d45e20ff..04a4e2047 100644 --- a/.github/workflows/dorothy-workflow.yml +++ b/.github/workflows/dorothy-workflow.yml @@ -8,6 +8,26 @@ concurrency: group: ${{ github.ref }} cancel-in-progress: true jobs: + debug-env: + runs-on: ubuntu-latest + steps: + - name: 'Debug Environment' + shell: bash -leo pipefail {0} + run: | + # output github context + cat <<-EOF + github.event_name: + ${{ toJson(github.event_name) }} + + github.event.pull_request.requested_reviewers): + ${{ toJson(github.event.pull_request.requested_reviewers) }} + + github.event.pull_request.requested_teams: + ${{ toJson(github.event.pull_request.requested_teams) }} + + github: + ${{ toJson(github) }} + EOF login-shells-and-linting: if: github.event_name == 'push' || ( github.event_name == 'pull_request' && (toJSON(github.event.pull_request.requested_reviewers) != '[]' || toJSON(github.event.pull_request.requested_teams) != '[]' ) ) runs-on: ubuntu-latest