Skip to content

Commit

Permalink
Merge pull request #16 from skyclouds2001/dev
Browse files Browse the repository at this point in the history
Release v1.4.0
  • Loading branch information
skyclouds2001 authored Sep 23, 2024
2 parents 249af4a + b92bd46 commit 8f4a411
Show file tree
Hide file tree
Showing 8 changed files with 629 additions and 40 deletions.
86 changes: 86 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
language: zh-CN
tone_instructions: ''
early_access: false
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: '@coderabbitai summary'
auto_title_placeholder: '@coderabbitai'
review_status: true
poem: true
collapse_walkthrough: false
sequence_diagrams: true
labeling_instructions: []
path_filters: []
path_instructions: []
abort_on_close: true
auto_review:
enabled: true
auto_incremental_review: true
ignore_title_keywords: []
labels: []
drafts: false
base_branches: []
tools:
shellcheck:
enabled: true
ruff:
enabled: true
markdownlint:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000
languagetool:
enabled: true
enabled_only: false
level: default
biome:
enabled: true
hadolint:
enabled: true
swiftlint:
enabled: true
phpstan:
enabled: true
level: default
golangci-lint:
enabled: true
yamllint:
enabled: true
gitleaks:
enabled: true
checkov:
enabled: true
detekt:
enabled: true
eslint:
enabled: true
rubocop:
enabled: true
buf:
enabled: true
regal:
enabled: true
actionlint:
enabled: true
pmd:
enabled: true
cppcheck:
enabled: true
chat:
auto_reply: true
knowledge_base:
opt_out: false
learnings:
scope: auto
issues:
scope: auto
jira:
project_keys: []
linear:
team_keys: []
pull_requests:
scope: auto
67 changes: 38 additions & 29 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,52 +4,61 @@ on:
pull_request:
branches:
- master
types:
- reopened
- opened
- synchronize

permissions:
contents: read
issues: write
pull-requests: write

jobs:
labeler:
labeler-content:
name: Label for PR content
if: github.repository == 'skyclouds2001/springboot-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Label for PR content
uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labeler-size:
name: Label for PR size
if: github.repository == 'skyclouds2001/springboot-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Label for PR size
uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_api_url: https://api.github.com
xs_label: size/xs
xs_max_size: 10
s_label: size/s
s_max_size: 100
m_label: size/m
m_max_size: 500
l_label: size/l
l_max_size: 1000
xl_label: size/xl
fail_if_xl: false
message_if_xl: ''
- uses: codelytv/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_api_url: https://api.github.com
xs_label: size/xs
xs_max_size: 10
s_label: size/s
s_max_size: 100
m_label: size/m
m_max_size: 500
l_label: size/l
l_max_size: 1000
xl_label: size/xl
fail_if_xl: false
message_if_xl: |
This PR exceeds the recommended size of 1000 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.
label-rebase-needed:
if: github.repository == 'skyclouds2001/big-data-monitor-system'
name: Label for PR merge conflict
if: github.repository == 'skyclouds2001/springboot-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Label for PR merge conflict
uses: eps1lon/actions-label-merge-conflict@v3
with:
dirtyLabel: merge conflicts
repoToken: ${{ secrets.GITHUB_TOKEN }}
commentOnDirty: 'This pull request has conflicts, please resolve those before we can evaluate the pull request.'
commentOnClean: 'Conflicts have been resolved. A maintainer will review the pull request shortly.'
- uses: eps1lon/[email protected]
with:
dirtyLabel: merge conflicts
repoToken: ${{ secrets.GITHUB_TOKEN }}
commentOnDirty: |
This pull request has conflicts, please resolve those before we can evaluate the pull request.
commentOnClean: |
Conflicts have been resolved. A maintainer will review the pull request shortly.
15 changes: 11 additions & 4 deletions .github/workflows/new-contributor.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
name: new contributor

on:
- issues
- pull_request
issues:
types:
- reopened
- opened
pull_request:
types:
- reopened
- opened

permissions:
contents: none
issues: none
issues: write
pull-requests: write

jobs:
new-contributor:
name: Welcome new contributor
if: github.repository == 'skyclouds2001/springboot-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
- uses: actions/first-interaction@v1.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/project-automate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: project automate

on:
issues:
types:
- opened
- reopened
- transferred
pull_request:
types:
- opened
- reopened

jobs:
add-to-project:
name: Add issue or pull request to project
if: github.repository == 'skyclouds2001/springboot-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/users/skyclouds2001/projects/2
github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: release

on:
push:
tags:
- v*

permissions:
contents: write

jobs:
github-release:
name: Publish github release
if: github.repository == 'skyclouds2001/springboot-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: softprops/[email protected]
with:
body: |
Please refer to [CHANGELOG.md](https://github.com/skyclouds2001/springboot-template-sky/blob/master/CHANGELOG.md) for details.
19 changes: 12 additions & 7 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,27 @@ name: stale

on:
schedule:
- cron: '30 1 * * *'
- cron: 0 0 * * *

permissions:
contents: none
contents: write
issues: write
pull-requests: write

jobs:
stale:
name: Stale issue or pull request if have had no activity for a long time
if: github.repository == 'skyclouds2001/springboot-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
- uses: actions/stale@v9.0.0
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This pr is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
days-before-stale: 30
days-before-close: 5
stale-issue-message: |
This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
stale-pr-message: |
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
close-issue-message: |
This issue was closed because it has been stalled for 7 days with no activity.
close-pr-message: |
This PR was closed because it has been stalled for 7 days with no activity.
Loading

0 comments on commit 8f4a411

Please sign in to comment.