From 51637df390ca0a534848fb230f9a76f9014d57ff Mon Sep 17 00:00:00 2001 From: Barak Haryati Date: Wed, 25 Mar 2026 11:23:45 +0200 Subject: [PATCH] Modify workflow to change pull request trigger Updated pull request trigger and removed FastCI token setup. --- .github/workflows/analysis.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 996624f41..6d5046ab4 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -4,7 +4,7 @@ on: push: branches: - "master" - pull_request_target: + pull_request: types: [opened, synchronize] branches: - "master" @@ -23,9 +23,6 @@ jobs: - name: Setup FastCI uses: jfrog-fastci/fastci@v0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main @@ -46,9 +43,6 @@ jobs: - name: Setup FastCI uses: jfrog-fastci/fastci@v0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main @@ -69,9 +63,7 @@ jobs: - name: Setup FastCI uses: jfrog-fastci/fastci@v0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main @@ -92,9 +84,6 @@ jobs: - name: Setup FastCI uses: jfrog-fastci/fastci@v0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} - name: Run ShellCheck uses: ludeeus/action-shellcheck@master @@ -111,9 +100,6 @@ jobs: - name: Setup FastCI uses: jfrog-fastci/fastci@v0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - fastci_otel_token: ${{ secrets.FASTCI_TOKEN }} - name: Check for uncommented replace instructions on JFrog dependencies run: |