From d997a038469cbe02c3bbab05e9681cd9a73ca777 Mon Sep 17 00:00:00 2001 From: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com> Date: Thu, 1 Aug 2024 10:47:47 -0400 Subject: [PATCH] Simplify GitHub Action --- .github/workflows/ci.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c72ed2f..9f523ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,21 +1,12 @@ name: CI Pipeline -on: - pull_request: - types: [opened, reopened, edited, ready_for_review, synchronize] +on: [pull_request] jobs: run-lint: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - repository: ${{ github.repository }} - ref: ${{ github.ref }} - token: ${{ secrets.GITHUB_TOKEN }} - fetch-depth: 0 - + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: @@ -38,14 +29,7 @@ jobs: python-version: [3.11, 3.8] steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - repository: ${{ github.repository }} - ref: ${{ github.ref }} - token: ${{ secrets.GITHUB_TOKEN }} - fetch-depth: 0 - + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: