Pull projects from Airtable #533
This file contains hidden or 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: Pull projects from Airtable | |
| on: | |
| schedule: | |
| - cron: "00 12 * * 1-5" | |
| workflow_dispatch: | |
| jobs: | |
| airtable-pull: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 16 | |
| - run: npm ci | |
| - run: npm run airtable-pull | |
| env: | |
| AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }} | |
| AIRTABLE_BASE_ID: ${{ secrets.AIRTABLE_BASE_ID }} | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v4 | |
| with: | |
| commit-message: pull projects from airtable | |
| title: Update projects from Airtable | |
| body: Script pulls project from airtable | |
| base: main | |
| labels: automated-pr | |
| branch: airtable-pull | |
| delete-branch: true |