Skip to content

Commit dcfe59c

Browse files
authored
chore: solve zizmor findings & add ossf badge (#20)
1 parent 139f311 commit dcfe59c

File tree

6 files changed

+35
-7
lines changed

6 files changed

+35
-7
lines changed

.github/workflows/auto-close.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@ on:
1313
- cron: '30 1 * * *' # run every day
1414
workflow_dispatch: {}
1515

16+
permissions: {}
17+
1618
jobs:
1719
stale-auto-close:
18-
runs-on: ${{ 'ubuntu-latest' }}
20+
permissions:
21+
contents: read
22+
pull-requests: write
23+
runs-on: ubuntu-latest
1924
steps:
20-
- uses: actions/stale@v5.1.1
25+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
2126
with:
2227
repo-token: ${{ secrets.GITHUB_TOKEN }}
2328
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Make a comment or update the PR to avoid closing PR after 15 days.'

.github/workflows/auto-update.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ concurrency:
1818
group: ${{ github.workflow }}-${{ github.ref }}
1919
cancel-in-progress: true
2020

21+
permissions: {}
22+
2123
jobs:
2224
Auto-Update-PR:
25+
permissions:
26+
contents: read
27+
pull-requests: write
2328
runs-on: ubuntu-latest
2429
steps:
25-
- uses: tibdex/auto-update@v2.2.1
30+
- uses: tibdex/auto-update@4081c5bdc34560b58288a010318054e63e6f4a51
2631
with:
2732
github_token: ${{ secrets.SYS_ORCH_GITHUB }}

.github/workflows/integration-smoke-test.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,31 @@ on:
1212
- release-*
1313
workflow_dispatch:
1414

15+
permissions: {}
16+
1517
jobs:
1618
integration-smoke-test:
19+
permissions:
20+
contents: read
1721
runs-on: ubuntu-24.04-16core-64GB
1822
steps:
1923
- name: Checkout orch-ci repository
20-
uses: actions/checkout@v4
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2125
with:
2226
repository: open-edge-platform/orch-ci
2327
path: ci
2428
ref: "main"
2529
token: ${{ secrets.SYS_ORCH_GITHUB }}
30+
persist-credentials: false
2631

2732
- name: Checkout cluster-tests
28-
uses: actions/checkout@v4
33+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2934
with:
3035
repository: open-edge-platform/cluster-tests
3136
path: cluster-tests
3237
ref: ${{ github.head_ref }} # Checkout the branch that triggered the workflow to avoid detached HEAD
3338
token: ${{ secrets.SYS_ORCH_GITHUB }}
39+
persist-credentials: false
3440

3541
- name: Bootstrap CI environment
3642
uses: ./ci/.github/actions/bootstrap

.github/workflows/post-merge.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ on:
1212
- release-*
1313
workflow_dispatch:
1414

15+
permissions: {}
16+
1517
jobs:
1618
post-merge:
19+
permissions:
20+
contents: read
21+
security-events: write
22+
id-token: write
1723
uses: open-edge-platform/orch-ci/.github/workflows/post-merge.yml@main
1824
with:
1925
run_build: false
@@ -24,4 +30,4 @@ jobs:
2430
run_docker_push: false
2531
run_helm_build: false
2632
run_helm_push: false
27-
secrets: inherit
33+
secrets: inherit # zizmor: ignore[secrets-inherit]

.github/workflows/pre-merge.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ on:
1212
- release-*
1313
workflow_dispatch:
1414

15+
permissions: {}
16+
1517
jobs:
1618
pre-merge:
19+
permissions:
20+
contents: read
1721
uses: open-edge-platform/orch-ci/.github/workflows/pre-merge.yml@main
1822
with:
1923
run_security_scans: true
@@ -26,4 +30,3 @@ jobs:
2630
run_docker_build: false
2731
run_artifact: false
2832
run_reuse_check: true
29-
secrets: inherit

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11

22
# Tests for Cluster Orchestration Service
33

4+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
5+
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/open-edge-platform/cluster-tests/badge)](https://scorecard.dev/viewer/?uri=github.com/open-edge-platform/cluster-tests)
6+
47
## Overview
58

69
This repo documents the test plan for Cluster Orchestration subsystem in Intel® Open Edge Platform. It also hosts the

0 commit comments

Comments
 (0)