CI: Auto label on RTLMeter and Code coverage failure

This commit is contained in:
Geza Lore
2026-09-19 21:45:20 +01:00
parent 18ad801887
commit 8c6dd7a164
5 changed files with 211 additions and 66 deletions
+19 -2
View File
@@ -36,8 +36,8 @@ concurrency:
jobs:
build:
name: Build
start:
name: Start
# Only run scheduled jobs if explicitly enabled for that repo (e.g.: not on forks)
# Only run pull request jobs if labelled as needing a coverage run
# Always run workflow dispatch jobs
@@ -51,6 +51,23 @@ jobs:
&& github.event.action != 'unlabeled'
&& contains(github.event.pull_request.labels.*.name, 'pr: dev-coverage')))) ||
(github.event_name == 'workflow_dispatch')
runs-on: ubuntu-slim
steps:
- name: Save the pull request number
if: ${{ github.event_name == 'pull_request' }}
run: echo "${{ github.event.number }}" > pr-number.txt
- name: Upload the pull request number
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: pr-number
path: pr-number.txt
overwrite: true
build:
name: Build
needs: start
uses: ./.github/workflows/reusable-build.yml
with:
cc: gcc