Skip to content

Commit

Permalink
add debug action
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre-Herve committed Sep 4, 2023
1 parent 496e8ac commit 8478cf1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/optic_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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")

0 comments on commit 8478cf1

Please sign in to comment.