Skip to content

Commit c458fb6

Browse files
committed
change job names; update to current ubuntu
1 parent 435d869 commit c458fb6

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/m365_image_build.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ env:
1616

1717
jobs:
1818
build:
19+
name: Build
20+
runs-on: windows-latest
1921
# based on https://github.com/orgs/community/discussions/26253#discussioncomment-6745038
2022
# intent is to run on current ref, unless this is a scheduled run, then run on list defined below
2123
strategy:
@@ -29,7 +31,6 @@ jobs:
2931
- { scheduled: false }
3032
include:
3133
- ref: ${{ github.head_ref || github.ref_name }}
32-
runs-on: windows-latest
3334
permissions:
3435
contents: read
3536
packages: write
@@ -123,9 +124,9 @@ jobs:
123124
}
124125
exit 0
125126
m365-scan:
126-
name: M365 Image Scan
127+
name: Scan
127128
if: github.ref == 'refs/heads/scanning'
128-
runs-on: ubuntu-20.04
129+
runs-on: ubuntu-latest
129130
steps:
130131
- name: Run Trivy vulnerability scanner
131132
uses: aquasecurity/trivy-action@0.28.0

.github/workflows/trivy_scan.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Trivy Scans
1+
name: Trivy Scan
22
on:
33
push:
44
branches: [ "*" ]
55
pull_request:
66
branches: [ "main" ]
77
jobs:
8-
code-scan:
9-
name: Scan Code
10-
runs-on: ubuntu-20.04
8+
terraform:
9+
name: Terraform
10+
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
1313
uses: actions/checkout@v4

0 commit comments

Comments
 (0)