Update index.js #3
Workflow file for this run
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
name: Context Information | |
# Trigger the workflow on push to any branch | |
on: push | |
jobs: | |
print-context: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout your repository under $GITHUB_WORKSPACE, so your workflow can access it | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
# Print GitHub context data in formatted JSON | |
- name: Print GitHub Context | |
run: | | |
echo "GitHub Context:" | |
echo '${{ toJson(github) }}' | jq | |
# Using jq to format the JSON output for better readability | |
shell: bash | |
- name: Run Sherlo Action | |
uses: ./. |