Skip to content

Commit c2ac45b

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] markdownlint standardization.
1 parent ea2b755 commit c2ac45b

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,25 @@ on: # yamllint disable-line rule:truthy
3434

3535
jobs:
3636
analyze:
37-
name: Analyze
37+
name: Analyze (${{ matrix.language }})
38+
# Runner size impacts CodeQL analysis time. To learn more, please see:
39+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
40+
# - https://gh.io/supported-runners-and-hardware-resources
41+
# - https://gh.io/using-larger-runners (GitHub.com only)
42+
# Consider using larger runners or machines with greater resources
43+
# for possible analysis time improvements.
3844
runs-on:
3945
${{ (matrix.language == 'swift' && 'macos-14') || 'ubuntu-24.04' }}
4046
permissions:
47+
# required for all workflows
48+
security-events: write
49+
50+
# required to fetch internal or private CodeQL packs
51+
packages: read
52+
53+
# only required for workflows in private repositories
4154
actions: read
4255
contents: read
43-
security-events: write
4456

4557
strategy:
4658
fail-fast: false

.github/workflows/markdown-lint.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Markdown Lint
43

54
on: # yamllint disable-line rule:truthy
@@ -10,19 +9,27 @@ on: # yamllint disable-line rule:truthy
109
branches: ["main"]
1110
workflow_dispatch:
1211

12+
permissions: read-all
13+
1314
jobs:
14-
lint:
15+
markdownlint:
1516
name: Markdown Lint
1617
runs-on: ubuntu-24.04
1718

19+
strategy:
20+
matrix:
21+
node-version: [22.x]
22+
# See supported Node.js release schedule
23+
# at https://nodejs.org/en/about/releases/
24+
1825
steps:
1926
- name: Checkout repository
2027
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2128

22-
- name: Set up Node.js
29+
- name: Set up Node.js ${{ matrix.node-version }}
2330
uses: actions/setup-node@v4
2431
with:
25-
node-version: 22.x
32+
node-version: ${{ matrix.node-version }}
2633

2734
- name: Install dependencies
2835
run: npm install -g markdownlint-cli

0 commit comments

Comments
 (0)