Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

869 dump gha vars at start of each run for debugging #899

Merged
merged 14 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/actions/print_vars/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 'Print Vars'
description: 'Prints github varibles'
runs:
using: 'composite'
steps:
- name: github context
shell: bash
run: echo "${{ toJson(github) }}"
- name: env context
shell: bash
run: echo "${{ toJson(env) }}"
- name: vars context
shell: bash
run: echo "${{ toJson(vars) }}"
- name: job context
shell: bash
run: echo "${{ toJson(job) }}"
- name: steps context
shell: bash
run: echo "${{ toJson(steps) }}"
- name: runner context
shell: bash
run: echo "${{ toJson(runner) }}"
- name: secrets context
shell: bash
run: echo "${{ toJson(secrets) }}"
- name: strategy context
shell: bash
run: echo "${{ toJson(strategy) }}"
- name: matrix context
shell: bash
run: echo "${{ toJson(matrix) }}"
- name: needs context
shell: bash
run: echo "${{ toJson(needs) }}"
- name: inputs context
shell: bash
run: echo "${{ toJson(inputs) }}"
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
}
}
Loading