add debug action #8
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: optic | |
on: | |
pull_request: | |
push: | |
jobs: | |
diff-all: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Log some env vars | |
run: echo $GITHUB_EVENT_PATH, $GITHUB_REPOSITORY, $GITHUB_SHA | |
- name: Log GH token | |
run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}; echo $GITHUB_TOKEN | |
- name: Log pr number | |
run: echo $(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH") |