当用户尝试配置使用非 HTTPS 协议的验证服务器时,给予警告以让用户知晓可能存在的安全风险 #1
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
name: PR Auto Label and Reviewer | |
on: | |
pull_request: | |
types: [opened] | |
permissions: | |
pull-requests: write | |
contents: read | |
jobs: | |
add-label-and-reviewer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check Label | |
- name: Authenticate GitHub CLI | |
run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token | |
- name: Add Label | |
run: gh pr edit ${{ github.event.pull_request.number }} --add-label "新提交" | |
- name: Add Reviewer | |
run: gh pr edit ${{ github.event.pull_request.number }} --add-reviewer LTCatt |