-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
113 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: "[DEBUG] Dump" | ||
|
||
on: | ||
check_run: | ||
create: | ||
delete: | ||
discussion: | ||
discussion_comment: | ||
fork: | ||
issues: | ||
issue_comment: | ||
milestone: | ||
pull_request: | ||
pull_request_review_comment: | ||
pull_request_review: | ||
push: | ||
release: | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
dump: | ||
name: "[DEBUG] Echo Full Context" | ||
if: ${{ contains(github.event.head_commit.message, 'ci:debug') }} | ||
runs-on: [ubuntu-latest, self-hosted] | ||
steps: | ||
- name: Dump Env vars | ||
run: | | ||
echo "====== ENVIRONMENT =================" | ||
env | sort | ||
echo "====================================" | ||
- name: Dump GitHub context | ||
env: | ||
GITHUB_CONTEXT: ${{ toJSON(github) }} | ||
run: | | ||
echo "====== GITHUB_CONTEXT ==============" | ||
echo "$GITHUB_CONTEXT" | ||
echo "====================================" | ||
- name: Dump job context | ||
env: | ||
JOB_CONTEXT: ${{ toJSON(job) }} | ||
run: | | ||
echo "====== JOB_CONTEXT ==============" | ||
echo "$JOB_CONTEXT" | ||
echo "====================================" | ||
- name: Dump steps context | ||
env: | ||
STEPS_CONTEXT: ${{ toJSON(steps) }} | ||
run: | | ||
echo "====== STEPS_CONTEXT ==============" | ||
echo "$STEPS_CONTEXT" | ||
echo "====================================" | ||
- name: Dump runner context | ||
env: | ||
RUNNER_CONTEXT: ${{ toJSON(runner) }} | ||
run: | | ||
echo "====== RUNNER_CONTEXT ==============" | ||
echo "$RUNNER_CONTEXT" | ||
echo "====================================" | ||
- name: Dump strategy context | ||
env: | ||
STRATEGY_CONTEXT: ${{ toJSON(strategy) }} | ||
run: | | ||
echo "====== STRATEGY_CONTEXT ==============" | ||
echo "$STRATEGY_CONTEXT" | ||
echo "====================================" | ||
- name: Dump matrix context | ||
env: | ||
MATRIX_CONTEXT: ${{ toJSON(matrix) }} | ||
run: | | ||
echo "====== MATRIX_CONTEXT ==============" | ||
echo "$MATRIX_CONTEXT" | ||
echo "====================================" | ||
- name: Dump vars context | ||
env: | ||
VARS_CONTEXT: ${{ toJSON(vars) }} | ||
run: | | ||
echo "====== VARS ==============" | ||
echo "$VARS_CONTEXT" | ||
echo "====================================" | ||
- name: Dump env context | ||
env: | ||
ENV_CONTEXT: ${{ toJSON(env) }} | ||
run: | | ||
echo "====== ENV ==============" | ||
echo "$ENV_CONTEXT" | ||
echo "====================================" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters