Skip to content

Commit

Permalink
Merge resolved: Keeping ECR configuration in EKS Automation Lambda repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 28, 2025
2 parents d589752 + da1237f commit ddbe8c8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/gh-token.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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
with:
aws_region: 'us-gov-west-1'
secret_name: '/eks-cluster-deployment/github_token' # This matches the SECRET_NAME in app.py
github_app_id: ${{ vars.GH_APP_ID }}
github_app_installation_id: ${{ vars.GH_APP_INSTALLATION_ID }}
use_ecs_credentials: true
secrets:
github_app_pem_file: ${{ secrets.GH_APP_PEM_FILE }}
7 changes: 0 additions & 7 deletions backend.tf

This file was deleted.

0 comments on commit ddbe8c8

Please sign in to comment.