Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "3. Code Coverage"

permissions:
contents: write # commit & push
pull-requests: write # open/update PRs
issues: write # create/apply labels (fixes your error)
contents: write # commit & push
pull-requests: write # open/update PRs
issues: write # create/apply labels (fixes your error)

on:
push:
Expand All @@ -12,7 +12,7 @@ on:
- "feature/*"
paths-ignore:
- "**/README.md"
- "coverage-badge.svg" # prevent loops when the badge PR merges
- "coverage-badge.svg" # prevent loops when the badge PR merges
pull_request:
branches:
- "main"
Expand All @@ -28,7 +28,7 @@ jobs:
with:
ref: ${{ github.ref }}
fetch-depth: 0
persist-credentials: false # PR action will handle auth
persist-credentials: false # PR action will handle auth

- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand Down Expand Up @@ -66,9 +66,9 @@ jobs:
id: cpr
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }} # uses repo’s workflow token
branch: ci/update-coverage-badge # PR head branch
base: main # PR base branch
token: ${{ secrets.GITHUB_TOKEN }} # uses repo�s workflow token
branch: ci/update-coverage-badge # PR head branch
base: main # PR base branch
title: "Update coverage badge"
commit-message: "Update coverage badge"
body: "Automated update of coverage-badge.svg"
Expand Down
Loading