Skip to content

Commit

Permalink
Updated PR info with github sec
Browse files Browse the repository at this point in the history
  • Loading branch information
ArulVendhan committed Jan 8, 2024
1 parent 2743ac6 commit 1bccf2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
if: steps.check.outputs.triggered == 'true'
id: pr_data
run: |
echo "::set-output name=branch::${{ fromJson(steps.request.outputs.data).head.ref }}"
echo "::set-output name=repo_name::${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
echo "::set-output name=repo_clone_url::${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
echo "::set-output name=repo_ssh_url::${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
echo "::set-output name=branch::${{ secrets.HEAD_REF }}"
echo "::set-output name=repo_name::${{ secrets.HEAD_REPO_FULLNAME }}"
echo "::set-output name=repo_clone_url::${{ secrets.HEAD_REPO_URL }}"
echo "::set-output name=repo_ssh_url::${{ secrets.HEAD_REPO_SSHURL }}"
- name: Checkout PR Branch
if: steps.check.outputs.triggered == 'true'
uses: actions/checkout@v2
Expand Down

0 comments on commit 1bccf2c

Please sign in to comment.