Skip to content

Commit c7eac13

Browse files
committed
ci: add two workflows
1 parent 7a92975 commit c7eac13

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/stale.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Handle stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
workflow_dispatch:
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v3
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
stale-issue-message: 'This issue is being marked as "stale" because it has been open 20 days with no activity. Remove the "stale" label or comment, otherwise this will be closed in 5 days.'
15+
stale-issue-label: 'status: stale'
16+
exempt-issue-labels: 'status: pinned'
17+
stale-pr-message: 'This PR is being marked as "stale" because it has been open 20 days with no activity. Remove the "stale" label or comment, otherwise this will be closed in 5 days.'
18+
stale-pr-label: 'status: stale'
19+
exempt-pr-labels: 'status: pinned'
20+
days-before-stale: 20
21+
days-before-close: 5

.github/workflows/versioning.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Update tags
2+
3+
on:
4+
release:
5+
types: [published, edited]
6+
7+
jobs:
8+
actions-tagger:
9+
runs-on: windows-latest
10+
steps:
11+
- uses: Actions-R-Us/actions-tagger@v2
12+
with:
13+
publish_latest_tag: true
14+
env:
15+
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'

0 commit comments

Comments
 (0)