We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f900ebf commit 9581d78Copy full SHA for 9581d78
.github/workflows/pr-vrt-poc.yml
@@ -25,12 +25,28 @@ jobs:
25
pull-requests: write
26
contents: write
27
actions: read
28
+ issues: read
29
steps:
30
+ - name: Get Pull Request Details
31
+ id: pr_details
32
+ uses: actions/github-script@v7
33
+ with:
34
+ script: |
35
+ const response = await github.rest.pulls.get({
36
+ owner: context.repo.owner,
37
+ repo: context.repo.repo,
38
+ pull_number: context.issue.number,
39
+ });
40
+ return response.data;
41
+
42
- name: Debug
43
run: |
44
echo $W_RUN
45
+ echo '===='
46
+ echo $PR_DETAILS
47
env:
- W_RUN: ${{ toJSON(github.event.pull_request) }}
48
+ W_RUN: ${{ toJSON(github.event) }}
49
+ PR_DETAILS: ${{toJSON(steps.pr_details.outputs)}}
50
51
- name: Checkout Forked Repository
52
uses: actions/checkout@v4
0 commit comments