Skip to content

Commit 45e979b

Browse files
committed
ci: update workflow config
1 parent 3e57ca2 commit 45e979b

File tree

4 files changed

+26
-52
lines changed

4 files changed

+26
-52
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
1+
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
22
version: 2
33
updates:
44
- package-ecosystem: github-actions

.github/workflows/build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
1+
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions
22
name: Build
33

44
on:
@@ -13,9 +13,17 @@ on:
1313
- '.editorconfig'
1414
- '.git*'
1515
- '.github/*.yml'
16+
- '.github/workflows/stale.yml'
1617
pull_request:
18+
paths-ignore:
19+
- '**/*.adoc'
20+
- '**/*.md'
21+
- '.editorconfig'
22+
- '.git*'
23+
- '.github/*.yml'
24+
- '.github/workflows/stale.yml'
1725
workflow_dispatch:
18-
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
26+
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
1927

2028
defaults:
2129
run:
@@ -30,7 +38,7 @@ jobs:
3038
run: set
3139

3240
- name: Git Checkout
33-
uses: actions/checkout@v4 # https://github.com/actions/checkout
41+
uses: actions/checkout@v4 # https://github.com/actions/checkout
3442

3543
- name: Run tests
3644
run: call tests/test_all.cmd

.github/workflows/stale.yml

Lines changed: 4 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
1+
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions
22
name: Stale issues
33

44
on:
55
schedule:
66
- cron: '0 15 1,15 * *'
77
workflow_dispatch:
8-
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
8+
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
99

1010
permissions:
1111
issues: write
@@ -14,41 +14,6 @@ permissions:
1414
jobs:
1515
stale:
1616
runs-on: ubuntu-latest
17-
1817
steps:
19-
- name: Git checkout
20-
uses: actions/checkout@v4 # https://github.com/actions/checkout
21-
22-
- name: Run stale action
23-
uses: actions/stale@v9 # https://github.com/actions/stale
24-
with:
25-
days-before-stale: 90
26-
days-before-close: 14
27-
stale-issue-message: >
28-
This issue has been automatically marked as stale because it has not had
29-
recent activity. It will be closed in 14 days if no further activity occurs.
30-
If the issue is still valid, please add a respective comment to prevent this
31-
issue from being closed automatically. Thank you for your contributions.
32-
stale-issue-label: stale
33-
close-issue-label: wontfix
34-
exempt-issue-labels: |
35-
enhancement
36-
pinned
37-
security
38-
39-
- name: Run stale action (for enhancements)
40-
uses: actions/stale@v9 # https://github.com/actions/stale
41-
with:
42-
days-before-stale: 360
43-
days-before-close: 14
44-
stale-issue-message: >
45-
This issue has been automatically marked as stale because it has not had
46-
recent activity. It will be closed in 14 days if no further activity occurs.
47-
If the issue is still valid, please add a respective comment to prevent this
48-
issue from being closed automatically. Thank you for your contributions.
49-
stale-issue-label: stale
50-
close-issue-label: wontfix
51-
only-labels: enhancement
52-
exempt-issue-labels: |
53-
pinned
54-
security
18+
- name: Run stale action
19+
uses: sebthom/gha-shared/.github/actions/stale@v1

.gitignore

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,21 @@ _LOCAL/
44
# Eclipse
55
/.project
66
/.settings
7-
**/.*.md.html
87

98
# IntelliJ
10-
.idea
11-
*.iml
12-
*.ipr
13-
*.iws
9+
/.idea
10+
/*.iml
11+
/*.ipr
12+
/*.iws
13+
14+
# NetBeans
15+
nb-configuration.xml
1416

1517
# Eclipse Theia
16-
.theia
18+
/.theia
1719

1820
# Visual Studio Code
19-
.vscode
21+
/.vscode
2022

2123
# OSX
2224
.DS_Store
@@ -25,12 +27,11 @@ _LOCAL/
2527
*.swo
2628
*.swp
2729

28-
2930
# patch
3031
*.orig
3132
*.rej
3233

3334
# Temp files
3435
.history
3536
*.tmp
36-
*.bak
37+
*.bak

0 commit comments

Comments
 (0)