Skip to content

Commit 01070f6

Browse files
committed
chore: update github actions with linting fixes
1 parent 49a7305 commit 01070f6

File tree

4 files changed

+25
-21
lines changed

4 files changed

+25
-21
lines changed

.github/workflows/codeql.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
name: 'CodeQL'
1+
name: "CodeQL"
22

33
on:
44
push:
5-
branches:
6-
- main
5+
branches: ["main"]
76

87
pull_request:
8+
branches: ["main"]
99

1010
schedule:
11-
- cron: '28 20 * * 6'
11+
- cron: "28 20 * * 6"
12+
13+
# eslint-disable-next-line yml/no-empty-mapping-value
14+
workflow_dispatch:
1215

1316
jobs:
1417
analyze:
15-
name: Analyze
18+
name: Analyze (${{ matrix.language }})
1619
runs-on: ubuntu-latest
1720
permissions:
1821
actions: read
@@ -22,7 +25,9 @@ jobs:
2225
strategy:
2326
fail-fast: false
2427
matrix:
25-
language: ['javascript', 'typescript']
28+
include:
29+
- language: javascript-typescript
30+
build-mode: none
2631

2732
steps:
2833
- name: Checkout repository

.github/workflows/lock.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: Lock Closed Issues
22

33
on:
44
schedule:
5-
- cron: '20 2 * * *'
5+
- cron: "20 2 * * *"
66

7+
# eslint-disable-next-line yml/no-empty-mapping-value
78
workflow_dispatch:
89

910
permissions:
@@ -26,5 +27,5 @@ jobs:
2627
Please open a new issue for related topics.
2728
2829
issue-inactive-days: 60
29-
add-issue-labels: 'archived'
30-
process-only: 'issues'
30+
add-issue-labels: "archived"
31+
process-only: "issues"

.github/workflows/nodejs-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ name: Node CI
44

55
on:
66
push:
7-
branches:
8-
- main
7+
branches: ["main"]
98

109
pull_request:
10+
branches: ["main"]
1111

1212
jobs:
1313
lint:

.github/workflows/stale.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2-
#
3-
# You can adjust the behavior by modifying this file.
4-
# For more information, see:
5-
# https://github.com/actions/stale
61
name: Mark Stale Issues and Pull Requests
72

83
on:
94
schedule:
10-
- cron: '41 20 * * *'
5+
- cron: "41 20 * * *"
6+
7+
# eslint-disable-next-line yml/no-empty-mapping-value
8+
workflow_dispatch:
119

1210
jobs:
1311
stale:
@@ -24,9 +22,9 @@ jobs:
2422
days-before-stale: 60
2523
days-before-close: -1
2624

27-
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity.'
25+
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity."
2826

29-
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity.'
27+
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity."
3028

31-
stale-issue-label: 'stale-issue'
32-
stale-pr-label: 'stale-pull-request'
29+
stale-issue-label: "stale-issue"
30+
stale-pr-label: "stale-pull-request"

0 commit comments

Comments
 (0)