[pre-commit.ci] auto fixes from pre-commit.com hooks #156
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: Metadata Automation | |
# on: | |
# push: | |
# branches: | |
# - "*" | |
# env: | |
# GKE_SA_KEY: ${{ secrets.GKE_SA_KEY }} | |
# jobs: | |
# update-metadata: | |
# name: Update metadata from Google Sheets | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v2 | |
# - name: Setup Python version | |
# uses: actions/setup-python@v2 | |
# with: | |
# python-version: "3.9" | |
# - name: Install Python dependencies for actions | |
# run: |- | |
# pip install -r requirements-actions.txt | |
# - name: Checkout to the head ref | |
# run: |- | |
# git fetch --depth=1 | |
# git checkout ${{ github.head_ref }} | |
# - name: Fetch updated metadata and Update DBT schemas | |
# run: |- | |
# python3 .github/workflows/scripts/metadata_automation.py | |
# - name: Commit changed files | |
# uses: stefanzweifel/git-auto-commit-action@v4 | |
# with: | |
# commit_message: "Update metadata" |