Skip to content

Commit

Permalink
Add check all step to PR (#1162)
Browse files Browse the repository at this point in the history
### Ticket
N/A

### Problem description
Add check-all job that will be used as required check
This should eliminate the need for constant updating of required checks
list in repo config
Set run-name for produce data job so we can connect them to workflow
runs easy

### What's changed
Add check all step to PR
Set run-name for produce data job

### Checklist
- [ x] New/Existing tests provide coverage for changes
  • Loading branch information
vmilosevic authored Feb 3, 2025
1 parent 625bb5c commit 6296027
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,18 @@ jobs:
test_group_cnt: 2
test_group_ids: '[1,2]'
docker-image: ${{ needs.docker-build.outputs.docker-image }}

check-all-green:
if: always()
needs:
- pre-commit
- spdx
- docker-build
- build
- test
runs-on: Ubuntu-latest
steps:
- name: Check if the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
1 change: 1 addition & 0 deletions .github/workflows/produce_data.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "[internal] Collect workflow data"
run-name: "Collect data for run_id ${{ github.event.workflow_run.id }} attempt ${{ github.event.workflow_run.run_attempt }}"

on:
workflow_run:
Expand Down

0 comments on commit 6296027

Please sign in to comment.