mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-03 06:18:55 +00:00
chore: automate CCS backlog project sync
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
name: Sync CCS Backlog Project
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- closed
|
||||
- labeled
|
||||
- unlabeled
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '17 3 * * *'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: read
|
||||
|
||||
jobs:
|
||||
sync-project:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
- name: Sync CCS Backlog project
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.CCS_PROJECT_AUTOMATION_TOKEN }}
|
||||
CCS_PROJECT_OWNER: kaitranntt
|
||||
CCS_PROJECT_NUMBER: '3'
|
||||
run: node scripts/github/ccs-backlog-sync.mjs
|
||||
Reference in New Issue
Block a user