Daily Sync with Botocore #371
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: Daily Sync with Botocore | |
| on: | |
| schedule: | |
| # Every Monday to Friday at 10:00 UTC (3:00 PDT) | |
| - cron: 00 10 * * 1-5 | |
| permissions: | |
| id-token: write # This is required for requesting the JWT | |
| jobs: | |
| sync-with-botocore: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Configure AWS Credentials | |
| uses: aws-actions/configure-aws-credentials@v4 | |
| with: | |
| role-to-assume: ${{ secrets.CODEBUILD_ROLE_ARN }} | |
| role-duration-seconds: 10800 | |
| aws-region: us-west-2 | |
| - name: Run CodeBuild | |
| uses: aws-actions/aws-codebuild-run-build@v1 | |
| with: | |
| project-name: sagemaker-core-botocore-sync | |