fix: 修复 API 复制接口内容错误 #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is the entry point for all CI processes. | |
# It is from here that all other workflows are launched. | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '*' | |
branches: | |
- main | |
- 'renovate/**' | |
paths-ignore: | |
- '.github/**' | |
- '!.github/workflows/ci.yml' | |
- '!.github/workflows/release.yml' | |
- '**.md' | |
- .editorconfig | |
- .gitignore | |
- '.idea/**' | |
- '.vscode/**' | |
pull_request: | |
paths-ignore: | |
- '.github/**' | |
- '!.github/workflows/ci.yml' | |
- '!.github/workflows/release.yml' | |
- '**.md' | |
- .editorconfig | |
- .gitignore | |
- '.idea/**' | |
- '.vscode/**' | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
draft_release: | |
permissions: | |
contents: write # Allows this job to create releases | |
with: | |
dry-run: ${{ github.event_name != 'push' || (github.ref_type != 'tag' && github.ref_name != 'main') }} | |
secrets: inherit | |
needs: [] | |
uses: ./.github/workflows/release.yml | |