mirror of
https://github.com/hustcer/deepseek-review.git
synced 2026-05-13 05:16:05 +08:00
Initial commit
This commit is contained in:
73
.github/workflows/basic.yml
vendored
Normal file
73
.github/workflows/basic.yml
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
# Description:
|
||||
# - Setup Moonbit with GitHub Actions
|
||||
# REF:
|
||||
# - https://github.com/marketplace/actions/checkout
|
||||
|
||||
name: Setup-Moonbit@Dev
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
setup-moonbit:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Setup MoonBit@${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Moonbit
|
||||
uses: hustcer/setup-moonbit@develop
|
||||
|
||||
- name: Check Moonbit Version
|
||||
run: |
|
||||
moon version --all
|
||||
|
||||
setup-moonbit-of-version:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Setup MoonBit with Version@${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Moonbit with Version
|
||||
uses: hustcer/setup-moonbit@develop
|
||||
with:
|
||||
setup-core: false
|
||||
version: 0.1.20250108+7a6b9ab0e
|
||||
|
||||
- name: Check Moonbit Version
|
||||
run: |
|
||||
moon version --all
|
||||
|
||||
setup-moonbit-bleeding:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Setup MoonBit Bleeding@${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Moonbit Bleeding
|
||||
uses: hustcer/setup-moonbit@develop
|
||||
with:
|
||||
version: bleeding
|
||||
|
||||
- name: Check Moonbit Version
|
||||
run: |
|
||||
moon version --all
|
||||
34
.github/workflows/milestone.yaml
vendored
Normal file
34
.github/workflows/milestone.yaml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# Description:
|
||||
# - Add milestone to a merged PR or closed issue.
|
||||
|
||||
name: Milestone Action
|
||||
on:
|
||||
issues:
|
||||
types: [closed]
|
||||
pull_request_target:
|
||||
types: [closed]
|
||||
|
||||
# Fix GraphQL: Resource not accessible by integration (updatePullRequest)
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
update-milestone:
|
||||
runs-on: ubuntu-latest
|
||||
name: Milestone Update
|
||||
steps:
|
||||
- name: Set Milestone for PR
|
||||
uses: hustcer/milestone-action@main
|
||||
if: github.event.pull_request.merged == true
|
||||
with:
|
||||
action: bind-pr
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Set Milestone for Issue
|
||||
uses: hustcer/milestone-action@main
|
||||
if: github.event.issue.state == 'closed'
|
||||
with:
|
||||
action: bind-issue
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user