Skip to content

Commit 3cc3578

Browse files
committed
Update workflows
1 parent 99581ae commit 3cc3578

File tree

6 files changed

+34
-28
lines changed

6 files changed

+34
-28
lines changed

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@ name: CI
44
on:
55
push:
66
branches:
7-
- dependabot/**
8-
- feature/**
7+
- main
98
paths-ignore:
109
- '**.md'
1110
- '.gitignore'
1211
pull_request:
1312
branches:
1413
- main
1514

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1619
jobs:
1720
build:
1821
runs-on: ubuntu-24.04
22+
permissions: {}
1923
steps:
2024
- name: Checkout
2125
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020
jobs:
2121
codeql:
2222
name: CodeQL
23-
uses: ffurrer2/shared-workflows/.github/workflows/codeql.yml@5665b00699c95e38513d9f6617913824b859f254
23+
uses: ffurrer2/shared-workflows/.github/workflows/codeql.yml@81fb1d6670ac78d6be6b2ca148bbcf547d74e541
2424
with:
2525
languages: '["javascript"]'
2626
config-file: .github/codeql/codeql-config.yml

.github/workflows/licensed.yml

+5
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@ on:
1313
- package-lock.json
1414
- package.json
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
1620
jobs:
1721
licensed:
1822
name: Check licenses
23+
permissions: {}
1924
runs-on: ubuntu-24.04
2025
steps:
2126
- name: Checkout

.github/workflows/markdownlint.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ on:
66
branches:
77
- main
88
- feature/**
9-
- dependabot/**
9+
paths:
10+
- '**.md'
11+
- '.github/linters/.markdown-lint.yml'
12+
- '.github/workflows/markdownlint.yml'
13+
pull_request:
14+
branches:
15+
- main
1016
paths:
1117
- '**.md'
1218
- '.github/linters/.markdown-lint.yml'
1319
- '.github/workflows/markdownlint.yml'
1420

1521
jobs:
1622
markdownlint:
17-
runs-on: ubuntu-24.04
18-
steps:
19-
- name: Checkout
20-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21-
- name: markdownlint
22-
uses: nosborn/github-action-markdown-cli@58bcfd1af530d87a13d51b76e6713b52602e3613 # v3.4.0
23-
with:
24-
config_file: .github/linters/.markdown-lint.yml
25-
files: .
26-
ignore_files: test/testdata/expected
23+
name: markdownlint
24+
uses: ffurrer2/shared-workflows/.github/workflows/markdownlint.yml@81fb1d6670ac78d6be6b2ca148bbcf547d74e541
25+
with:
26+
ignore-files: '.github/linters/.markdown-lint.yml'

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
intergration-test-1:
5555
strategy:
5656
matrix:
57-
os: [ 'ubuntu-24.04', 'macos-14', 'windows-2022' ]
57+
os: ['ubuntu-24.04', 'macos-14', 'windows-2022']
5858
runs-on: ${{ matrix.os }}
5959
steps:
6060
- name: Checkout
@@ -72,7 +72,7 @@ jobs:
7272
intergration-test-2:
7373
strategy:
7474
matrix:
75-
os: [ 'ubuntu-24.04', 'macos-14', 'windows-2022' ]
75+
os: ['ubuntu-24.04', 'macos-14', 'windows-2022']
7676
runs-on: ${{ matrix.os }}
7777
steps:
7878
- name: Checkout
@@ -89,7 +89,7 @@ jobs:
8989
intergration-test-3:
9090
strategy:
9191
matrix:
92-
os: [ 'windows-2022' ]
92+
os: ['windows-2022']
9393
test:
9494
- changelog_file: CHANGELOG_1.md
9595
expected_release_notes_file: RELEASE_NOTES_1.md
@@ -123,7 +123,7 @@ jobs:
123123
intergration-test-4:
124124
strategy:
125125
matrix:
126-
os: [ 'windows-2022' ]
126+
os: ['windows-2022']
127127
test:
128128
- changelog_file: CHANGELOG_1.md
129129
expected_release_notes_file: RELEASE_NOTES_1.md

.github/workflows/yamllint.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,15 @@ on:
66
branches:
77
- main
88
- feature/**
9-
- dependabot/**
9+
paths:
10+
- '**.ya?ml'
11+
pull_request:
12+
branches:
13+
- main
1014
paths:
1115
- '**.ya?ml'
1216

1317
jobs:
1418
yamllint:
15-
runs-on: ubuntu-24.04
16-
steps:
17-
- name: Checkout
18-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19-
- name: yamllint
20-
uses: docker://docker.io/cytopia/yamllint:latest@sha256:3e9eb827ab2b12a5ea5f49d4257bb3aca94bba9f1ba427c8bc7f2456385a5204
21-
with:
22-
entrypoint: /usr/bin/yamllint
23-
args: '--config-file .github/linters/.yaml-lint.yml --format github --strict .'
19+
name: yamllint
20+
uses: ffurrer2/shared-workflows/.github/workflows/yamllint.yml@81fb1d6670ac78d6be6b2ca148bbcf547d74e541

0 commit comments

Comments
 (0)