Skip to content

Glue Job Sync

Glue Job Sync #69

Workflow file for this run

name: "Glue Job Sync"
on:
schedule:
- cron: "15 4 * * *" # Daily at 4:15am UTC
workflow_dispatch:
env:
AWS_REGION: ca-central-1
permissions:
id-token: write
contents: write
pull-requests: write
jobs:
glue-job-sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Configure AWS credentials using OIDC
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: arn:aws:iam::739275439843:role/data-lake-apply
role-session-name: TFApply
aws-region: ${{ env.AWS_REGION }}
- name: Create PR if changes
env:
GH_TOKEN: ${{ github.token }}
run: ./.github/workflows/scripts/sync-glue-jobs.sh