Skip to content

Commit 7ce4d4c

Browse files
committed
Add GitHub Actions workflows to match caldera core
1 parent a32550b commit 7ce4d4c

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.github/workflows/greetings.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Greetings
2+
3+
on: [pull_request, issues]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
greeting:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
steps:
15+
- uses: actions/first-interaction@1d8459ca65b335265f1285568221e229d45a995e
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
issue-message: 'Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/'
19+
pr-message: 'Wohoo! Your first PR -- thanks for contributing!'

.github/workflows/stale.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
issues: write
15+
pull-requests: write
16+
steps:
17+
- uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da
18+
with:
19+
repo-token: ${{ secrets.GITHUB_TOKEN }}
20+
stale-issue-label: 'no-issue-activity'
21+
stale-pr-label: 'no-pr-activity'
22+
stale-pr-message: 'This pull request is stale because it has had no activity for 60 days. Remove the stale label or comment or this will be closed in 60 days'
23+
stale-issue-message: 'This issue is stale because it has had no activity for 60 days. Remove the stale label or comment or this will be closed in 60 days'
24+
exempt-issue-labels: 'feature,keep'
25+
days-before-stale: 60
26+
days-before-close: 60

0 commit comments

Comments
 (0)