|
19 | 19 | - name: Checkout repository |
20 | 20 | uses: actions/checkout@v4 |
21 | 21 | with: |
22 | | - ref: "refs/pull/${{ github.event.issue.number }}/head" |
23 | | - |
| 22 | + ref: ${{ github.event.pull_request.head.sha }} |
24 | 23 | - name: Test init on Fedora VM |
25 | 24 | uses: sclorg/testing-farm-as-github-action@main |
26 | 25 | with: |
|
31 | 30 | pull_request_status_name: "Fedora init test" |
32 | 31 | update_pull_request_status: "true" |
33 | 32 | create_github_summary: "true" |
| 33 | + variables: "REPO_URL=${{ github.server_url }}/${{ github.repository }};REPO_NAME=${{ github.repository }};PR_NUMBER=${{ github.event.issue.number }};" |
34 | 34 | test-upgrade: |
35 | 35 | runs-on: ubuntu-latest |
36 | 36 |
|
|
43 | 43 | - name: Checkout repository |
44 | 44 | uses: actions/checkout@v4 |
45 | 45 | with: |
46 | | - ref: "refs/pull/${{ github.event.issue.number }}/head" |
| 46 | + ref: ${{ github.event.pull_request.head.sha }} |
47 | 47 |
|
48 | 48 | - name: Test upgrade on Fedora VM |
49 | 49 | uses: sclorg/testing-farm-as-github-action@main |
|
55 | 55 | pull_request_status_name: "Fedora upgrade test" |
56 | 56 | update_pull_request_status: "true" |
57 | 57 | create_github_summary: "true" |
| 58 | + variables: "REPO_URL=${{ github.server_url }}/${{ github.repository }};REPO_NAME=${{ github.repository }};PR_NUMBER=${{ github.event.issue.number }};" |
58 | 59 | container-test-init: |
59 | 60 | runs-on: ubuntu-latest |
60 | 61 |
|
|
66 | 67 | steps: |
67 | 68 | - name: Checkout repository |
68 | 69 | uses: actions/checkout@v4 |
| 70 | + with: |
| 71 | + ref: ${{ github.event.pull_request.head.sha }} |
69 | 72 |
|
70 | 73 | - name: Test init on Fedora container |
71 | 74 | uses: sclorg/testing-farm-as-github-action@main |
|
77 | 80 | pull_request_status_name: "Fedora container init test" |
78 | 81 | update_pull_request_status: "true" |
79 | 82 | create_github_summary: "true" |
| 83 | + variables: "REPO_URL=${{ github.server_url }}/${{ github.repository }};REPO_NAME=${{ github.repository }};PR_NUMBER=${{ github.event.issue.number }};" |
80 | 84 | container-test-upgrade: |
81 | 85 | runs-on: ubuntu-latest |
82 | 86 |
|
|
88 | 92 | steps: |
89 | 93 | - name: Checkout repository |
90 | 94 | uses: actions/checkout@v4 |
91 | | - |
| 95 | + with: |
| 96 | + ref: ${{ github.event.pull_request.head.sha }} |
| 97 | + |
92 | 98 | - name: Test upgrade on Fedora container |
93 | 99 | uses: sclorg/testing-farm-as-github-action@main |
94 | 100 | with: |
|
99 | 105 | pull_request_status_name: "Fedora container upgrade test" |
100 | 106 | update_pull_request_status: "true" |
101 | 107 | create_github_summary: "true" |
| 108 | + variables: "REPO_URL=${{ github.server_url }}/${{ github.repository }};REPO_NAME=${{ github.repository }};PR_NUMBER=${{ github.event.pull_request.head.sha }};" |
102 | 109 |
|
103 | 110 |
|
0 commit comments