Skip to content

Commit

Permalink
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/dorothy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,35 @@ 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 <<-EGITHUB
github.event_name:
${{ toJson(github.event_name) }}
github.event.pull_request.draft:
${{ github.event_name == 'pull_request' && toJson(github.event.pull_request.draft) }}
github.event.pull_request.state:
${{ github.event_name == 'pull_request' && toJson(github.event.pull_request.state) }}
github.event.pull_request.assignees:
${{ github.event_name == 'pull_request' && toJson(github.event.pull_request.assignees) }}
github.event.pull_request.requested_reviewers:
${{ github.event_name == 'pull_request' && toJson(github.event.pull_request.requested_reviewers) }}
github.event.pull_request.requested_teams:
${{ github.event_name == 'pull_request' && toJson(github.event.pull_request.requested_teams) }}
github:
${{ toJson(github) }}
EGITHUB
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
Expand Down

0 comments on commit c27e7cb

Please sign in to comment.