Browse Source
chore: test chore: update ci chore: update ci chore: update ci chore: update ci chore: update ci chore: update ci chore: update cipull/3993/head
27 changed files with 372 additions and 259 deletions
@ -0,0 +1,24 @@ |
|||
name: Create Release Tag |
|||
|
|||
on: |
|||
push: |
|||
tags: |
|||
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 |
|||
|
|||
jobs: |
|||
build: |
|||
name: Create Release |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: Checkout code |
|||
uses: actions/checkout@v4 |
|||
with: |
|||
fetch-depth: 0 |
|||
|
|||
- name: Create Release for Tag |
|||
id: release_tag |
|||
uses: ncipollo/release-action@v1 |
|||
with: |
|||
generateReleaseNotes: "true" |
|||
body: | |
|||
> Please refer to [CHANGELOG.md](https://github.com/vbenjs/vue-vben-admin/blob/main/CHANGELOG.md) for details. |
|||
@ -0,0 +1,25 @@ |
|||
name: Semantic Pull Request |
|||
|
|||
on: |
|||
pull_request_target: |
|||
types: |
|||
- opened |
|||
- edited |
|||
- synchronize |
|||
|
|||
jobs: |
|||
main: |
|||
if: github.repository == 'vitejs/vite' |
|||
runs-on: ubuntu-latest |
|||
name: Semantic Pull Request |
|||
steps: |
|||
- name: Validate PR title |
|||
uses: amannn/action-semantic-pull-request@v5 |
|||
with: |
|||
subjectPattern: ^(?![A-Z]).+$ |
|||
subjectPatternError: | |
|||
The subject "{subject}" found in the pull request title "{title}" |
|||
didn't match the configured pattern. Please ensure that the subject |
|||
doesn't start with an uppercase character. |
|||
env: |
|||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} |
|||
@ -0,0 +1,18 @@ |
|||
name: "Close stale issues" |
|||
|
|||
on: |
|||
schedule: |
|||
- cron: "0 1 * * *" |
|||
|
|||
jobs: |
|||
stale: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: actions/stale@v9 |
|||
with: |
|||
repo-token: ${{ secrets.ACCESS_TOKEN }} |
|||
stale-issue-message: "This issue 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" |
|||
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" |
|||
exempt-issue-labels: "bug,enhancement" |
|||
days-before-stale: 60 |
|||
days-before-close: 7 |
|||
File diff suppressed because it is too large
Loading…
Reference in new issue