Skip to content

Commit 76d7507

Browse files
committed
ci: tag a next major
1 parent 9d16014 commit 76d7507

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/workflows/labels.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Sync labels
2+
on:
3+
workflow_dispatch:
4+
permissions:
5+
issues: write
6+
jobs:
7+
labels:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: EndBug/label-sync@v2
12+
with:
13+
config-file: 'https://raw.githubusercontent.com/thetutlage/static/main/labels.yml'
14+
delete-other-labels: true
15+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- run: npm install
3232

33-
- run: npm run release -- --ci
33+
- run: npm run release major -- --ci --preRelease=next
3434
env:
3535
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '30 0 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v9
11+
with:
12+
stale-issue-message: 'This issue has been marked as stale because it has been inactive for more than 21 days. Please reopen if you still need help on this issue'
13+
stale-pr-message: 'This pull request has been marked as stale because it has been inactive for more than 21 days. Please reopen if you still intend to submit this pull request'
14+
close-issue-message: 'This issue has been automatically closed because it has been inactive for more than 4 weeks. Please reopen if you still need help on this issue'
15+
close-pr-message: 'This pull request has been automatically closed because it has been inactive for more than 4 weeks. Please reopen if you still intend to submit this pull request'
16+
days-before-stale: 21
17+
days-before-close: 5

0 commit comments

Comments
 (0)