Scheduled API Specs Pull Request #1619
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: Scheduled API Specs Pull Request | |
| on: | |
| schedule: | |
| - cron: '0 */12 * * *' | |
| jobs: | |
| api-specs-pr: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.19 | |
| - run: | | |
| git config --global user.name "algolia-ci" | |
| git config --global user.email "[email protected]" | |
| - run: make api-specs-pr | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_SECRET }} |