Project automation #219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Project automation | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: {} | |
jobs: | |
sync-project-issues: | |
name: Add issue/pull requests to project | |
runs-on: ubuntu-latest | |
env: | |
GH_PROJECT_TOKEN: ${{ secrets.GH_PROJECT_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
npm install @actions/github date-fns | |
node scripts/project-automation.js |