Skip to content
Draft
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

30 changes: 0 additions & 30 deletions .eslintrc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/check-action-metadata-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-markdown-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Initialize markdownlint-cli problem matcher
uses: xt0rted/markdownlint-problem-matcher@v3
Expand All @@ -66,11 +66,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-npm-dependencies-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
version: 5.x

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand Down Expand Up @@ -135,11 +135,11 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
version: 5.x

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-npm-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand All @@ -54,11 +54,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-prettier-formatting-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/check-tsconfig-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,20 @@ jobs:
validate:
runs-on: ubuntu-latest

strategy:
fail-fast: false

matrix:
file:
- ./tsconfig.json
- ./tsconfig.eslint.json

steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x

- name: Validate ${{ matrix.file }}
env:
TSCONFIG_PATH: ${{ matrix.file }}
- name: Validate tsconfig.json
run: task --silent ts:validate
9 changes: 3 additions & 6 deletions .github/workflows/check-typescript-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ on:
push:
paths:
- ".github/workflows/check-typescript-task.ya?ml"
- ".eslintignore"
- "**/.eslintrc*"
- "oxlint.json"
- ".npmrc"
- "package.json"
- "package-lock.json"
- "Taskfile.ya?ml"
- "tsconfig.eslint.json"
- "tsconfig.json"
- "**.js"
- "**.jsx"
Expand All @@ -20,13 +18,11 @@ on:
pull_request:
paths:
- ".github/workflows/check-typescript-task.ya?ml"
- ".eslintignore"
- "**/.eslintrc*"
- "oxlint.json"
- ".npmrc"
- "package.json"
- "package-lock.json"
- "Taskfile.ya?ml"
- "tsconfig.eslint.json"
- "tsconfig.json"
- "**.js"
- "**.jsx"
Expand All @@ -50,6 +46,7 @@ jobs:
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand Down
24 changes: 10 additions & 14 deletions .github/workflows/sync-labels-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Download JSON schema for labels configuration file
id: download-schema
Expand All @@ -48,19 +48,16 @@ jobs:
location: ${{ runner.temp }}/label-configuration-schema

- name: Install JSON schema validator
run: npm install
run: npm ci

- name: Validate local labels configuration
run: |
# See: https://github.com/ajv-validator/ajv-cli#readme
npx \
--package=ajv-cli \
--package=ajv-formats \
ajv validate \
--all-errors \
-c ajv-formats \
-s "${{ steps.download-schema.outputs.file-path }}" \
-d "${{ env.CONFIGURATIONS_FOLDER }}/*.{yml,yaml}"
npx ajv-cli validate \
--all-errors \
-c ajv-formats \
-s "${{ steps.download-schema.outputs.file-path }}" \
-d "${{ env.CONFIGURATIONS_FOLDER }}/*.{yml,yaml}"

download:
needs: check
Expand Down Expand Up @@ -129,11 +126,11 @@ jobs:
uses: geekyeggo/delete-artifact@v5
with:
name: ${{ env.CONFIGURATIONS_ARTIFACT_PREFIX }}*

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Merge label configuration files
run: |
Expand All @@ -142,15 +139,14 @@ jobs:
cat "${{ env.CONFIGURATIONS_FOLDER }}"/*.@(yml|yaml) > "${{ env.MERGED_CONFIGURATION_PATH }}"

- name: Install github-label-sync
run: npm install
run: npm ci

- name: Sync labels
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# See: https://github.com/Financial-Times/github-label-sync
npx \
github-label-sync \
npx github-label-sync \
--labels "${{ env.MERGED_CONFIGURATION_PATH }}" \
${{ steps.dry-run.outputs.flag }} \
${{ github.repository }}
8 changes: 4 additions & 4 deletions .github/workflows/test-typescript-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
paths:
- ".github/workflows/test-typescript-task.ya?ml"
- ".npmrc"
- "jest.config.js"
- "vitest.config.ts"
- "package.json"
- "package-lock.json"
- "Taskfile.ya?ml"
Expand All @@ -19,7 +19,7 @@ on:
paths:
- ".github/workflows/test-typescript-task.ya?ml"
- ".npmrc"
- "jest.config.js"
- "vitest.config.ts"
- "package.json"
- "package-lock.json"
- "Taskfile.ya?ml"
Expand Down Expand Up @@ -48,11 +48,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand All @@ -69,11 +69,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: package.json
cache: "npm"

- name: Install Task
uses: go-task/setup-task@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules/
# Ignore built ts files
__tests__/runner/*
lib/**/*
.idea/
7 changes: 7 additions & 0 deletions .licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ allowed:
- eupl-1.2
- liliq-r-1.1
- liliq-rplus-1.1

reviewed:
npm:
# These packages are MIT licensed but licensed tool detects as "other"
- "@actions/core"
- "@actions/http-client"
- typed-rest-client
Empty file added .licenses/.gitkeep
Empty file.
20 changes: 20 additions & 0 deletions .licenses/npm/@actions/core-2.0.1.dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "@actions/core"
version: 2.0.1
type: npm
summary: Actions core lib
homepage: https://github.com/actions/toolkit/tree/main/packages/core
license: mit
licenses:
- sources: LICENSE.md
text: |-
The MIT License (MIT)

Copyright 2019 GitHub

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
notices: []
20 changes: 20 additions & 0 deletions .licenses/npm/@actions/exec-2.0.0.dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "@actions/exec"
version: 2.0.0
type: npm
summary: Actions exec lib
homepage: https://github.com/actions/toolkit/tree/main/packages/exec
license: mit
licenses:
- sources: LICENSE.md
text: |-
The MIT License (MIT)

Copyright 2019 GitHub

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
notices: []
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: "@actions/http-client"
version: 2.0.1
version: 2.2.3
type: npm
summary: Actions Http Client
homepage: https://github.com/actions/toolkit/tree/main/packages/http-client
license: mit
license: other
licenses:
- sources: LICENSE
text: |
Expand Down
Loading
Loading