mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 06:47:20 +08:00
24 lines
559 B
YAML
24 lines
559 B
YAML
name: Issue Auto Lock
|
|
on:
|
|
schedule:
|
|
- cron: "*/5 * * * *"
|
|
workflow_dispatch:
|
|
issues:
|
|
types: [ opened ]
|
|
permissions:
|
|
issues: write
|
|
contents: read
|
|
jobs:
|
|
issue-lock:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- name: Set GH_REPO
|
|
run: echo "GH_REPO=${{ github.repository }}" >> $GITHUB_ENV
|
|
- name: Auto Lock Issue
|
|
uses: devhaozi/issue-auto-lock@v1
|
|
with:
|
|
gh_repo: ${{ github.repository }}
|
|
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
|
issue_labels: "⭐ No Star"
|