From 9e52a219daf41707d7f9528d9ca4c408a1123b92 Mon Sep 17 00:00:00 2001 From: Cory Bekker Date: Fri, 10 Jan 2025 14:59:53 -0800 Subject: [PATCH] update order of condition check for github action --- .github/workflows/semantic-lint.yml | 38 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/semantic-lint.yml b/.github/workflows/semantic-lint.yml index 3041cf74..5b190173 100644 --- a/.github/workflows/semantic-lint.yml +++ b/.github/workflows/semantic-lint.yml @@ -1,23 +1,21 @@ -name: semantic-lint +# name: semantic-lint -on: - pull_request_target: - types: - - opened - - edited - - synchronize +# on: +# pull_request_target: +# types: +# - opened +# - edited +# - synchronize -permissions: - contents: read - pull-requests: read +# permissions: +# contents: read +# pull-requests: read -jobs: - semantic-lint: - if: github.repository == 'ekristen/aws-nuke' - runs-on: ubuntu-latest - steps: - - name: Print debug information - run: echo "Repository: ${{ github.repository }}" - - uses: amannn/action-semantic-pull-request@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# jobs: +# semantic-lint: +# if: github.repository == 'ekristen/aws-nuke' +# runs-on: ubuntu-latest +# steps: +# - uses: amannn/action-semantic-pull-request@v5 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}