Skip to content

Commit

Permalink
test: add custom workflow to run based upon comment on PR(take 11)
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Prashar <[email protected]>
  • Loading branch information
vprashar2929 committed Aug 18, 2024
1 parent 0a87a92 commit 68e45f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/custom-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
run: echo "This is a test"

- name: get the pr number
run: echo "pr_number=${{ github.event.issue.pull_request.number }}"
run: echo "pr_number=${{ github.event.pull_request.head.sha }}"

- name: get the pr number
run: echo "pr_number=${{ github.event.pull_request.number }}"
- name: Check Event JSON
run: echo "${{ toJson(github.event) }}"

0 comments on commit 68e45f4

Please sign in to comment.