Skip to content

Commit 3e57ca2

Browse files
committed
chore: update workflow config
1 parent fd26afb commit 3e57ca2

File tree

4 files changed

+73
-57
lines changed

4 files changed

+73
-57
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
1-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
1+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
22
version: 2
33
updates:
4-
- package-ecosystem: github-actions
5-
directory: /
6-
schedule:
7-
interval: weekly
8-
day: monday
9-
time: "10:00"
10-
commit-message:
11-
prefix: fix
12-
prefix-development: chore
13-
include: scope
14-
labels:
15-
- dependencies
16-
- gha
17-
- package-ecosystem: maven
18-
directory: /
19-
schedule:
20-
interval: weekly
21-
day: monday
22-
time: "10:00"
23-
commit-message:
24-
prefix: fix
25-
prefix-development: chore
26-
include: scope
27-
labels:
28-
- dependencies
29-
- mvn
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: weekly
8+
day: monday
9+
time: "14:00"
10+
commit-message:
11+
prefix: ci
12+
prefix-development: ci
13+
include: scope
14+
labels:
15+
- dependencies
16+
- gha
17+
- pinned

.github/stale.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Build
33

44
on:
55
push:
6-
branches-ignore: # build all branches except:
7-
- 'dependabot/**' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
8-
tags-ignore: # don't build tags
6+
branches-ignore: # build all branches except:
7+
- 'dependabot/**' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
8+
tags-ignore: # don't build tags
99
- '**'
1010
paths-ignore:
1111
- '**/*.adoc'
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: windows-latest
2727

2828
steps:
29-
- name: Show environment variables
29+
- name: "Show: environment variables"
3030
run: set
3131

3232
- name: Git Checkout

.github/workflows/stale.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
2+
name: Stale issues
3+
4+
on:
5+
schedule:
6+
- cron: '0 15 1,15 * *'
7+
workflow_dispatch:
8+
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
9+
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
stale:
16+
runs-on: ubuntu-latest
17+
18+
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

0 commit comments

Comments
 (0)