From 7ae39fdd0fdc10f3b71c3a7c06386f9d1b7a3565 Mon Sep 17 00:00:00 2001 From: Amisha Singla Date: Thu, 25 Jul 2024 18:19:40 -0500 Subject: [PATCH] bring back dev yml get past off annotation error --- .github/workflows/ci-cd-dev.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci-cd-dev.yml diff --git a/.github/workflows/ci-cd-dev.yml b/.github/workflows/ci-cd-dev.yml new file mode 100644 index 00000000..25b97140 --- /dev/null +++ b/.github/workflows/ci-cd-dev.yml @@ -0,0 +1,34 @@ +name: CI-CD-DEV + +on: + pull_request: + types: + - opened + - reopened + - synchronize + - closed + branches: + - master + +jobs: + pre-commit: + runs-on: ubuntu-latest + if: >- + github.event.pull_request.merged == false && + github.event.pull_request.state == 'open' + steps: + - uses: actions/checkout@v3 + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: 3.8 + + - id: file_changes + uses: trilom/file-changes-action@v1.2.4 + with: + output: " " + + - uses: pre-commit/action@v3.0.0 + env: + extra_args: --color=always --files ${{ steps.file_changes.outputs.files}}