Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hopefully closes #43 #44

Merged
merged 3 commits into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,18 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id}}
cancel-in-progress: true

permissions:
actions: read
checks: write
contents: read
id-token: write
packages: write
pages: write
security-events: write
permissions: {}

jobs:
build:
permissions:
actions: read
checks: write
contents: read
packages: write
# pages: write
pull-requests: write # Needed for test results comments
security-events: write
strategy:
matrix:
CMAKE_C_COMPILER:
Expand Down Expand Up @@ -158,6 +159,7 @@ jobs:
uses: mikepenz/action-junit-report@62516aa379bff6370c95fd5894d5a27fb6619d9b
if: success() || failure()
with:
comment: true
report_paths: build/GTestOutputDir/**/*.junit.xml
fail_on_failure: true
include_passed: true
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
name: 'Dependency Review'
on: [pull_request, workflow_dispatch]

permissions:
contents: read
permissions: {}

jobs:
dependency-review:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Harden Runner
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/flawfinder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ on:
- '*'
workflow_dispatch:

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id}}
cancel-in-progress: true

permissions:
contents: read

jobs:
flawfinder:
name: Flawfinder
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ env:
# Path to the CMake build directory.
build: '${{ github.workspace }}/build'

permissions:
contents: read
permissions: {}

jobs:
analyze:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ossf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id}}
cancel-in-progress: true

permissions:
contents: read
permissions: {}

jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
contents: read
# Needed for Code scanning upload
security-events: write
# Needed for GitHub OIDC token if publish_results is true
Expand Down
Loading