Skip to contentSkip to conversation

.github/workflows/cifuzz.yml: update branch and upload-artifact

PATCH In review Stephen Smalley 1 participant 3 messages Aug 4 SELinux security module

lore
Share & tools
lore

Stephen Smalley

author maintainer
#0 lore raw

PATCH v2 1/1 .github/workflows/cifuzz.yml: update branch and upload-artifact

The cifuzz workflow was still using the old master branch, which was recently deleted. Switch it to the main branch. It was also using upload-artifactv3 which is no longer supported. Update to v4.

---
v2 updates the upload-artifact action version too.

 .github/workflows/cifuzz.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
.github/workflows/cifuzz.yml +3 -3
index c4e592c5..c3b57e27 100644
@@ -3,10 +3,10 @@ name: CIFuzz
 on:
   push:
     branches:
-      - master
+      - main
   pull_request:
     branches:
-      - master
+      - main
 jobs:
   Fuzzing:
     runs-on: ubuntu-latest
@@ -33,7 +33,7 @@ jobs:
           report-unreproducible-crashes: true
           sanitizer: ${{ matrix.sanitizer }}
       - name: Upload Crash
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         if: failure() && steps.build.outcome == 'success'
         with:
           name: ${{ matrix.sanitizer }}-artifacts
Signature · 1 line
2.55.0
author maintainer
#1 lore raw
Quoted 7 lines · Stephen Smalley

The cifuzz workflow was still using the old master branch, which was recently deleted. Switch it to the main branch. It was also using upload-artifactv3 which is no longer supported. Update to v4.

Since this obviously hasn't been running for some time (was never updated when we switched from master to main), it would be good if someone could confirm whether we actually still need or care about it.

Quoted 35 lines

---
v2 updates the upload-artifact action version too.

 .github/workflows/cifuzz.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
.github/workflows/cifuzz.yml +3 -4
index c4e592c5..c3b57e27 100644
@@ -3,10 +3,10 @@ name: CIFuzz
 on:
   push:
     branches:
-      - master
+      - main
   pull_request:
     branches:
-      - master
+      - main
 jobs:
   Fuzzing:
     runs-on: ubuntu-latest
@@ -33,7 +33,7 @@ jobs:
           report-unreproducible-crashes: true
           sanitizer: ${{ matrix.sanitizer }}
       - name: Upload Crash
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         if: failure() && steps.build.outcome == 'success'
         with:
           name: ${{ matrix.sanitizer }}-artifacts
--

2.55.0

author maintainer
#2 lore raw
Quoted 9 lines · Stephen Smalley
Quoted 6 lines · Stephen Smalley

The cifuzz workflow was still using the old master branch, which was recently deleted. Switch it to the main branch. It was also using upload-artifactv3 which is no longer supported. Update to v4.

Quoted 5 lines
Quoted 1 line

Since this obviously hasn't been running for some time (was never updated when we switched from master to main), it would be good if someone could confirm whether we actually still need or care about it.

Merged and completed successfully. Seems worth having enabled again.