Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

DRAFT: Feature/support dbt core1.8 #303

DRAFT: Feature/support dbt core1.8

DRAFT: Feature/support dbt core1.8 #303

Workflow file for this run

name: Check Poetry Lock
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
paths:
- "projects/adapter/pyproject.toml"
- "projects/adapter/poetry.lock"
- ".github/workflows/poetry_lock.yml"
jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: false
# Run only the latest commit pushed to PR
concurrency:
group: "${{ github.head_ref || github.run_id }}-${{ github.workflow }}"
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install poetry
shell: bash
run: pip install poetry==1.2.*
- name: Check poetry lock
working-directory: "projects/adapter"
run: poetry lock --no-update
- name: Pull Remote Changes
run: git pull
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Poetry lock updated
commit_user_email: [email protected]
commit_user_name: Fal Bot