mirror of
https://github.com/kou029w/zenn.dev.git
synced 2025-01-18 16:07:59 +00:00
add reactivation step
This commit is contained in:
parent
497e20ae22
commit
fc42873296
1 changed files with 9 additions and 1 deletions
10
.github/workflows/stale.yml
vendored
10
.github/workflows/stale.yml
vendored
|
@ -1,6 +1,8 @@
|
||||||
name: stale
|
name: stale
|
||||||
on:
|
on:
|
||||||
schedule: [cron: "0 1 * * 1"]
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 1 * * MON"
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -9,3 +11,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
stale-issue-message: このIssueは最終更新日から365日以上経過しています。
|
stale-issue-message: このIssueは最終更新日から365日以上経過しています。
|
||||||
days-before-stale: 365
|
days-before-stale: 365
|
||||||
|
- name: Reactivation
|
||||||
|
run: |
|
||||||
|
gh workflow disable --repo "${GITHUB_REPOSITORY}" "${GITHUB_WORKFLOW}"
|
||||||
|
gh workflow enable --repo "${GITHUB_REPOSITORY}" "${GITHUB_WORKFLOW}"
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue