Skip to content

Commit 136e8b7

Browse files
committed
Update sources of generated workflows
1 parent b1bfc45 commit 136e8b7

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

pr-checks/checks/submit-sarif-failure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
security-events: write # needed to upload the SARIF file
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- uses: ./init
2424
with:
2525
languages: javascript

pr-checks/checks/with-checkout-path.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ steps:
1313
rm -rf ./* .github .git
1414
# Check out the actions repo again, but at a different location.
1515
# choose an arbitrary SHA so that we can later test that the commit_oid is not from main
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
with:
1818
ref: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
1919
path: x/y/z/some-path

pr-checks/sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def writeHeader(checkStream):
9292
steps = [
9393
{
9494
'name': 'Check out repository',
95-
'uses': 'actions/checkout@v4'
95+
'uses': 'actions/checkout@v5'
9696
},
9797
{
9898
'name': 'Prepare test',

src/init-action-post-helper.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ test("uploads failed SARIF run with `diagnostics export` if feature flag is off"
8080
const actionsWorkflow = createTestWorkflow([
8181
{
8282
name: "Checkout repository",
83-
uses: "actions/checkout@v4",
83+
uses: "actions/checkout@v5",
8484
},
8585
{
8686
name: "Initialize CodeQL",
@@ -104,7 +104,7 @@ test("uploads failed SARIF run with `diagnostics export` if the database doesn't
104104
const actionsWorkflow = createTestWorkflow([
105105
{
106106
name: "Checkout repository",
107-
uses: "actions/checkout@v4",
107+
uses: "actions/checkout@v5",
108108
},
109109
{
110110
name: "Initialize CodeQL",
@@ -131,7 +131,7 @@ test("uploads failed SARIF run with database export-diagnostics if the database
131131
const actionsWorkflow = createTestWorkflow([
132132
{
133133
name: "Checkout repository",
134-
uses: "actions/checkout@v4",
134+
uses: "actions/checkout@v5",
135135
},
136136
{
137137
name: "Initialize CodeQL",
@@ -188,7 +188,7 @@ for (const { uploadInput, shouldUpload } of UPLOAD_INPUT_TEST_CASES) {
188188
const actionsWorkflow = createTestWorkflow([
189189
{
190190
name: "Checkout repository",
191-
uses: "actions/checkout@v4",
191+
uses: "actions/checkout@v5",
192192
},
193193
{
194194
name: "Initialize CodeQL",
@@ -223,7 +223,7 @@ test("uploading failed SARIF run succeeds when workflow uses an input with a mat
223223
const actionsWorkflow = createTestWorkflow([
224224
{
225225
name: "Checkout repository",
226-
uses: "actions/checkout@v4",
226+
uses: "actions/checkout@v5",
227227
},
228228
{
229229
name: "Initialize CodeQL",
@@ -250,7 +250,7 @@ test("uploading failed SARIF run fails when workflow uses a complex upload input
250250
const actionsWorkflow = createTestWorkflow([
251251
{
252252
name: "Checkout repository",
253-
uses: "actions/checkout@v4",
253+
uses: "actions/checkout@v5",
254254
},
255255
{
256256
name: "Initialize CodeQL",
@@ -281,7 +281,7 @@ test("uploading failed SARIF run fails when workflow does not reference github/c
281281
const actionsWorkflow = createTestWorkflow([
282282
{
283283
name: "Checkout repository",
284-
uses: "actions/checkout@v4",
284+
uses: "actions/checkout@v5",
285285
},
286286
]);
287287
const result = await testFailedSarifUpload(t, actionsWorkflow, {

0 commit comments

Comments
 (0)