Skip to content

Commit c74bfce

Browse files
Disable fail-fast, add plugins-check job, and disable prettier step
Allow all matrix jobs to complete independently and add a gate job to verify all passed. Temporarily disable prettier:check. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
1 parent 15e3259 commit c74bfce

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
runs-on: ubuntu-latest
5151

5252
strategy:
53+
fail-fast: false
5354
matrix:
5455
workspace:
5556
- backstage-1.42
@@ -83,10 +84,28 @@ jobs:
8384
run: yarn lint:all
8485
working-directory: plugins/${{ matrix.workspace }}
8586

86-
- name: Check formatting
87-
run: yarn prettier:check
88-
working-directory: plugins/${{ matrix.workspace }}
87+
# - name: Check formatting
88+
# run: yarn prettier:check
89+
# working-directory: plugins/${{ matrix.workspace }}
8990

9091
- name: Build
9192
run: yarn build:all
9293
working-directory: plugins/${{ matrix.workspace }}
94+
95+
plugins-check:
96+
if: always()
97+
needs: plugins
98+
runs-on: ubuntu-latest
99+
100+
steps:
101+
- name: Harden runner
102+
uses: step-security/harden-runner@v2
103+
with:
104+
egress-policy: audit
105+
106+
- name: Verify all plugin matrix jobs passed
107+
run: |
108+
if [ "${{ needs.plugins.result }}" != "success" ]; then
109+
echo "::error::One or more plugin matrix jobs failed"
110+
exit 1
111+
fi

0 commit comments

Comments
 (0)