Skip to content

Commit

Permalink
test: add custom workflow to run based upon comment on PR(take 19)
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Prashar <[email protected]>
  • Loading branch information
vprashar2929 committed Aug 26, 2024
1 parent 86c1ae3 commit c940af1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/custom-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
status: pending

- name: Checkout
if : ${{ success() }}
# - name: Checkout
# if : ${{ success() }}
# uses: actions/checkout@v3
# with:
# ref: ${{ steps.comment-branch.outputs.head_ref }}

- name: Checkout Code
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
ref: ${{ github.event.issue.pull_request.head.ref }}
repository: ${{ github.event.issue.pull_request.head.repo.full_name }}

- name: Check if Github organization is set
run: |
Expand Down

0 comments on commit c940af1

Please sign in to comment.