mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
Migrate issue label/close workflows to native gh scripts with explicit permissions, and update README cloud/AI coverage plus typo fixes.
23 lines
606 B
YAML
23 lines
606 B
YAML
name: Issue Close Check
|
|
|
|
on:
|
|
issues:
|
|
types: [closed]
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
jobs:
|
|
issue-closed-remove-labels:
|
|
runs-on: ubuntu-latest
|
|
if: "!contains(github.event.issue.labels.*.name, 'stale')"
|
|
steps:
|
|
- name: Remove state labels when issue that hasn't stale label is closed
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
run: |
|
|
gh issue edit "${{ github.event.issue.number }}" \
|
|
--repo "${{ github.repository }}" \
|
|
--remove-label "state/awaiting processing" \
|
|
--remove-label "state/awaiting user feedback" || true
|