Skip to content

Commit 232cf11

Browse files
Copilotnpv2k1
andcommitted
feat: add stale bot workflow and changelog
Co-authored-by: npv2k1 <73846954+npv2k1@users.noreply.github.com>
1 parent 039b413 commit 232cf11

2 files changed

Lines changed: 93 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Stale Issues and PRs
2+
3+
on:
4+
schedule:
5+
# Run daily at 00:00 UTC
6+
- cron: '0 0 * * *'
7+
workflow_dispatch:
8+
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
13+
jobs:
14+
stale:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/stale@v9
18+
with:
19+
repo-token: ${{ secrets.GITHUB_TOKEN }}
20+
21+
# Issue settings
22+
stale-issue-message: |
23+
This issue has been automatically marked as stale because it has not had recent activity.
24+
It will be closed if no further activity occurs within 7 days.
25+
If this is still relevant, please leave a comment to keep it open.
26+
close-issue-message: |
27+
This issue has been automatically closed due to inactivity.
28+
Feel free to reopen if this is still relevant.
29+
days-before-issue-stale: 60
30+
days-before-issue-close: 7
31+
stale-issue-label: 'stale'
32+
exempt-issue-labels: 'pinned,security,enhancement,bug'
33+
34+
# PR settings
35+
stale-pr-message: |
36+
This pull request has been automatically marked as stale because it has not had recent activity.
37+
It will be closed if no further activity occurs within 7 days.
38+
If you're still working on this, please leave a comment to keep it open.
39+
close-pr-message: |
40+
This pull request has been automatically closed due to inactivity.
41+
Feel free to reopen and update if you'd like to continue working on this.
42+
days-before-pr-stale: 30
43+
days-before-pr-close: 7
44+
stale-pr-label: 'stale'
45+
exempt-pr-labels: 'pinned,security,work-in-progress'
46+
47+
# Behavior
48+
operations-per-run: 100
49+
remove-stale-when-updated: true
50+
ascending: false

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Added
11+
- Comprehensive CI/CD workflows using GitHub Actions
12+
- CI workflow for automated testing and building across multiple platforms
13+
- Release workflow for automated releases with binaries
14+
- PR check workflow for pull request validation
15+
- Code quality workflow for continuous code quality monitoring
16+
- Dependabot configuration for automated dependency updates
17+
- Issue templates (bug report, feature request)
18+
- Pull request template
19+
- Contributing guidelines (CONTRIBUTING.md)
20+
- Security policy (SECURITY.md)
21+
- GitHub funding configuration
22+
- Build status badges in README
23+
- Comprehensive documentation for CI/CD setup
24+
25+
### Changed
26+
- Updated README with CI/CD documentation
27+
- Updated .gitignore to exclude release artifacts
28+
29+
## [1.0.0] - Initial Release
30+
31+
### Added
32+
- Initial Electron template with TypeScript
33+
- React 19 integration
34+
- Vite for fast development and building
35+
- Tailwind CSS for styling
36+
- Electron Builder for packaging
37+
- Secure IPC communication with preload scripts
38+
- Context isolation and security best practices
39+
- Development and production build scripts
40+
- Multi-platform build support (Windows, macOS, Linux)
41+
42+
[Unreleased]: https://github.com/pnstack/template-electron/compare/v1.0.0...HEAD
43+
[1.0.0]: https://github.com/pnstack/template-electron/releases/tag/v1.0.0

0 commit comments

Comments
 (0)