Skip to content

Commit cdeb08a

Browse files
committed
ci: update workflow config
1 parent 43f2b64 commit cdeb08a

3 files changed

Lines changed: 17 additions & 47 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
22
# SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
33
# SPDX-License-Identifier: Apache-2.0
4+
# SPDX-ArtifactOfProjectHomePage: https://github.com/vegardit/haxe-concurrent
45
#
5-
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions
6+
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
67
name: Build
78

8-
on:
9+
on: # https://docs.github.com/en/actions/reference/events-that-trigger-workflows
10+
schedule:
11+
# https://docs.github.com/en/actions/reference/choosing-when-your-workflow-runs/events-that-trigger-workflows
12+
- cron: '0 15 1 * *'
913
push:
1014
branches-ignore: # build all branches except:
1115
- 'dependabot/**' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
@@ -28,11 +32,8 @@ on:
2832
- '.github/*.yml'
2933
- '.github/workflows/stale.yml'
3034
- 'tools'
31-
schedule:
32-
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
33-
- cron: '0 15 1 * *'
3435
workflow_dispatch:
35-
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#workflow_dispatch
36+
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
3637
inputs:
3738
debug-with-ssh:
3839
description: "Start an SSH session for debugging purposes at the end of the build:"
@@ -86,7 +87,10 @@ jobs:
8687

8788
runner-os: ${{ matrix.os }}
8889
haxe-version: ${{ matrix.haxe }}
89-
haxe-libs: haxe-doctest hx3compat
90+
haxe-libs: |
91+
haxe-doctest
92+
hx3compat
93+
hx4compat
9094
9195
debug-with-ssh: ${{ inputs.debug-with-ssh || 'never' }}
9296
debug-with-ssh-only-for-actor: ${{ inputs.debug-with-ssh-only-for-actor || false }}

.github/workflows/stale.yml

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

44
on:
55
schedule:
6+
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
67
- cron: '0 15 1,15 * *'
78
workflow_dispatch:
8-
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#workflow_dispatch
9+
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
910

1011
permissions:
1112
issues: write
@@ -14,41 +15,6 @@ permissions:
1415
jobs:
1516
stale:
1617
runs-on: ubuntu-latest
17-
1818
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
19+
- name: Run stale action
20+
uses: sebthom/gha-shared/.github/actions/stale@v1

0 commit comments

Comments
 (0)