Skip to content

Commit d014aeb

Browse files
authored
ci: add ASF allowlist check (#966)
1 parent d80dc96 commit d014aeb

5 files changed

Lines changed: 124 additions & 47 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
name: ASF Allowlist Check
19+
20+
on:
21+
workflow_dispatch:
22+
pull_request:
23+
branches:
24+
- main
25+
paths:
26+
- ".github/**"
27+
push:
28+
branches:
29+
- main
30+
paths:
31+
- ".github/**"
32+
33+
permissions:
34+
contents: read
35+
36+
concurrency:
37+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
38+
cancel-in-progress: true
39+
40+
jobs:
41+
asf-allowlist-check:
42+
runs-on: ubuntu-latest
43+
timeout-minutes: 10
44+
steps:
45+
- uses: actions/checkout@v7
46+
with:
47+
persist-credentials: false
48+
- uses: apache/infrastructure-actions/allowlist-check@main
49+
with:
50+
scan-glob: ".github/**/*.y*ml"

.github/workflows/ci-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,22 @@ jobs:
4242
- name: Setup Node.js
4343
uses: actions/setup-node@v4
4444
with:
45-
node-version: '20'
45+
node-version: '22'
4646

4747
- name: Enable corepack
4848
working-directory: website
4949
run: npm i -g --force corepack && corepack enable
5050

5151
- name: Install dependencies
5252
working-directory: website
53-
run: pnpm install --frozen-lockfile
53+
run: pnpm install
5454

5555
- name: Build website
5656
working-directory: website
5757
run: pnpm build
5858

5959
- name: Lint markdown files
60-
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101
60+
uses: DavidAnson/markdownlint-cli2-action@6bf21b07787794f89a243495939cd651942aeabe
6161
with:
6262
globs: 'website/**/*.md'
6363
config: 'website/.markdownlint-cli2.jsonc'

website/docs/sheet/read/simple.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ public void synchronousReadToMapList() {
246246
}
247247
}
248248
```
249+
249250
## Reading Specific Columns (Column Filtering)
250251

251252
By default, Fesod reads all columns from a sheet. If you only want to process specific columns, you can use `.includeColumnIndexes(List<Integer>)`. This selects specific columns out of the entire sheet column set

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@mdx-js/react": "^3.0.0",
2828
"clsx": "^2.0.0",
2929
"docusaurus-plugin-matomo": "^0.0.8",
30-
"markdownlint-cli2": "^0.20.0",
30+
"markdownlint-cli2": "^0.23.1",
3131
"prism-react-renderer": "^2.3.0",
3232
"react": "^19.0.0",
3333
"react-dom": "^19.0.0"

0 commit comments

Comments
 (0)