Skip to content

Commit d64a91f

Browse files
Copilotneilime
andcommitted
Remove glob dependency and CLI entrypoint
Co-authored-by: neilime <314088+neilime@users.noreply.github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent bb61e0d commit d64a91f

10 files changed

Lines changed: 328 additions & 807 deletions

File tree

.github/linters/.jscpd.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"threshold": 5,
3+
"ignore": ["**/node_modules/**"]
4+
}

.github/workflows/__shared-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
contents: read
2121
uses: ./.github/workflows/__test-action-matrix-outputs.yml
2222

23+
test-action-parse-ci-reports:
24+
needs: linter
25+
permissions:
26+
contents: read
27+
uses: ./.github/workflows/__test-action-parse-ci-reports.yml
28+
2329
test-action-repository-owner-is-organization:
2430
needs: linter
2531
permissions:
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Internal - Tests for parse-ci-reports action
2+
3+
on:
4+
workflow_call:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
tests:
11+
name: Tests for parse-ci-reports action
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
with:
16+
persist-credentials: false
17+
18+
- id: parse-ci-reports
19+
uses: ./actions/parse-ci-reports
20+
21+
- name: Check parse-ci-reports outputs
22+
run: |
23+
if [ "${STEPS_PARSE_CI_REPORTS_OUTPUTS_HAS_ERRORS}" != 'false' ]; then
24+
echo "parse-ci-reports outputs result is not valid"
25+
exit 1
26+
fi
27+
env:
28+
STEPS_PARSE_CI_REPORTS_OUTPUTS_HAS_ERRORS: ${{ steps.parse-ci-reports.outputs.has-errors }}

actions/parse-ci-reports/.jscpd.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)