|
20 | 20 | # - no .github files were committed |
21 | 21 | test-pr: |
22 | 22 | name: "Test if pull request is valid" |
23 | | - runs-on: ubuntu-latest |
| 23 | + runs-on: ubuntu-22.04 |
24 | 24 | if: > |
25 | 25 | github.event.workflow_run.event == 'pull_request' && |
26 | 26 | github.event.workflow_run.conclusion == 'success' |
@@ -74,15 +74,15 @@ jobs: |
74 | 74 | create-branch: |
75 | 75 | name: "Create Git Branch" |
76 | 76 | needs: test-pr |
77 | | - runs-on: ubuntu-latest |
| 77 | + runs-on: ubuntu-22.04 |
78 | 78 | if: ${{ needs.test-pr.outputs.is_valid == 'true' }} |
79 | 79 | env: |
80 | 80 | NR: ${{ needs.test-pr.outputs.number }} |
81 | 81 | permissions: |
82 | 82 | contents: write |
83 | 83 | steps: |
84 | 84 | - name: 'Checkout md outputs' |
85 | | - uses: actions/checkout@v3 |
| 85 | + uses: actions/checkout@v4 |
86 | 86 | with: |
87 | 87 | ref: md-outputs |
88 | 88 | path: built |
@@ -120,7 +120,7 @@ jobs: |
120 | 120 | comment-pr: |
121 | 121 | name: "Comment on Pull Request" |
122 | 122 | needs: [test-pr, create-branch] |
123 | | - runs-on: ubuntu-latest |
| 123 | + runs-on: ubuntu-22.04 |
124 | 124 | if: ${{ needs.test-pr.outputs.is_valid == 'true' }} |
125 | 125 | env: |
126 | 126 | NR: ${{ needs.test-pr.outputs.number }} |
@@ -150,7 +150,7 @@ jobs: |
150 | 150 | comment-changed-workflow: |
151 | 151 | name: "Comment if workflow files have changed" |
152 | 152 | needs: test-pr |
153 | | - runs-on: ubuntu-latest |
| 153 | + runs-on: ubuntu-22.04 |
154 | 154 | if: ${{ always() && needs.test-pr.outputs.is_valid == 'false' }} |
155 | 155 | env: |
156 | 156 | NR: ${{ github.event.workflow_run.pull_requests[0].number }} |
@@ -182,4 +182,3 @@ jobs: |
182 | 182 | with: |
183 | 183 | pr: ${{ env.NR }} |
184 | 184 | body: ${{ env.body }} |
185 | | - |
0 commit comments