Skip to content

Commit 8cd6e99

Browse files
committed
Merge branch 'master' into dev
2 parents 2a958c9 + 6f41684 commit 8cd6e99

File tree

3 files changed

+51
-12
lines changed

3 files changed

+51
-12
lines changed

.github/workflows/greetings.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Greetings
2+
3+
on: [pull_request_target, issues]
4+
5+
jobs:
6+
greeting:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
steps:
13+
- uses: actions/first-interaction@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
issue-message: 'Hello and welcome! Thanks for creating your first issue! Someone from our community will get back to you soon!'
17+
pr-message: >
18+
Thanks for opening your first pull reqest in VSCode G-Code Syntax!
19+
20+
Please make sure you read the [Contributing Guide](https://github.com/appliedengdesign/vscode-gcode-syntax/blob/master/CONTRIBUTING.md) and follow the [Code of Conduct](https://github.com/appliedengdesign/vscode-gcode-syntax/blob/master/CODE_OF_CONDUCT.md).

.github/workflows/lock.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 'Lock Closed Issues'
2+
3+
on:
4+
schedule:
5+
- cron: '30 5 * * *'
6+
7+
workflow_dispatch:
8+
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
13+
concurrency:
14+
group: lock
15+
16+
jobs:
17+
action:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: dessant/lock-threads@v3
21+
with:
22+
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
issue-comment: 'This issue has been automatically locked since there has not been any recent activity after it was close. Please open a new issue for related topics.'
24+
issue-inactive-days: 60
25+
add-issue-labels: 'archived'
26+
process-only: 'issues'

.github/workflows/stale.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
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
6-
name: Mark stale issues and pull requests
1+
name: Mark Stale Issues and Pull Requests
72

83
on:
94
schedule:
@@ -23,14 +18,12 @@ jobs:
2318
repo-token: ${{ secrets.GITHUB_TOKEN }}
2419

2520
days-before-stale: 60
26-
days-before-close: 7
21+
days-before-close: -1
2722

28-
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
23+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity.'
2924

30-
stale-pr-message: 'Stale pull request message'
25+
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity.'
3126

3227
stale-issue-label: 'stale-issue'
3328
stale-pr-label: 'stale-pull-request'
34-
35-
exempt-milestones: true
36-
exempt-assignees: true
29+

0 commit comments

Comments
 (0)