Skip to content

Auto-Close Duplicate Issues #1

Auto-Close Duplicate Issues

Auto-Close Duplicate Issues #1

name: Auto-Close Duplicate Issues
on:
schedule:
- cron: 0 9 * * *
workflow_dispatch:
permissions:
contents: read
issues: write
jobs:
auto-close:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout tree
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set-up Mise
uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1
with:
cache: false
- name: Run auto-close script
run: bun run scripts/auto-close-duplicates.ts
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
GITHUB_REPOSITORY_NAME: ${{ github.event.repository.name }}