GitHub Token Refresh #14
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: GitHub Token Refresh | ||
| on: | ||
| schedule: | ||
| - cron: '*/5 * * * *' # Runs every 5 minutes | ||
| workflow_dispatch: # Allows manual triggering | ||
| jobs: | ||
| refresh-token: | ||
| name: Refresh GitHub Token | ||
| uses: CSVD/centralized-actions/.github/workflows/upload-github-token.yml@main | ||
|
Check failure on line 11 in .github/workflows/gh-token.yaml
|
||
| with: | ||
| aws_region: 'us-gov-west-1' | ||
| secret_name: '/dev/eks_automation_github_token' # This matches the SECRET_NAME in app.py | ||
| github_app_id: ${{ vars.GH_APP_ID }} | ||
| github_installation_id: ${{ vars.GH_APP_INSTALLATION_ID }} | ||
| use_ecs_credentials: true | ||
| secrets: | ||
| github_app_private_key: ${{ secrets.GH_APP_PEM_FILE }} | ||