Skip to content

[GH] Add GH action to auto clean up codeowners file #1

[GH] Add GH action to auto clean up codeowners file

[GH] Add GH action to auto clean up codeowners file #1

---

Check failure on line 1 in .github/workflows/codeowner-cleanup.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codeowner-cleanup.yml

Invalid workflow file

(Line: 3, Col: 1): Unexpected value 'workflow_dispatch'
name: Weekly codeowners cleanup
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
permissions:
contents: read
jobs:
cleanowners:
name: cleanowners
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Run cleanowners action
uses: github/cleanowners@v1
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORGANIZATION: cloudflare