Skip to content

Commit f5cdf71

Browse files
Modify workflow to change pull request trigger (#3401)
Updated pull request trigger and removed FastCI token setup. Co-authored-by: Rémi BOURGAREL <bourgarel.remi@gmail.com>
1 parent 47f6eae commit f5cdf71

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

.github/workflows/analysis.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- "master"
7-
pull_request_target:
7+
pull_request:
88
types: [opened, synchronize]
99
branches:
1010
- "master"
@@ -23,9 +23,6 @@ jobs:
2323

2424
- name: Setup FastCI
2525
uses: jfrog-fastci/fastci@v0
26-
with:
27-
github_token: ${{ secrets.GITHUB_TOKEN }}
28-
fastci_otel_token: ${{ secrets.FASTCI_TOKEN }}
2926

3027
- name: Setup Go with cache
3128
uses: jfrog/.github/actions/install-go-with-cache@main
@@ -46,9 +43,6 @@ jobs:
4643

4744
- name: Setup FastCI
4845
uses: jfrog-fastci/fastci@v0
49-
with:
50-
github_token: ${{ secrets.GITHUB_TOKEN }}
51-
fastci_otel_token: ${{ secrets.FASTCI_TOKEN }}
5246

5347
- name: Setup Go with cache
5448
uses: jfrog/.github/actions/install-go-with-cache@main
@@ -69,9 +63,7 @@ jobs:
6963

7064
- name: Setup FastCI
7165
uses: jfrog-fastci/fastci@v0
72-
with:
73-
github_token: ${{ secrets.GITHUB_TOKEN }}
74-
fastci_otel_token: ${{ secrets.FASTCI_TOKEN }}
66+
7567

7668
- name: Setup Go with cache
7769
uses: jfrog/.github/actions/install-go-with-cache@main
@@ -92,9 +84,6 @@ jobs:
9284

9385
- name: Setup FastCI
9486
uses: jfrog-fastci/fastci@v0
95-
with:
96-
github_token: ${{ secrets.GITHUB_TOKEN }}
97-
fastci_otel_token: ${{ secrets.FASTCI_TOKEN }}
9887

9988
- name: Run ShellCheck
10089
uses: ludeeus/action-shellcheck@master
@@ -111,9 +100,6 @@ jobs:
111100

112101
- name: Setup FastCI
113102
uses: jfrog-fastci/fastci@v0
114-
with:
115-
github_token: ${{ secrets.GITHUB_TOKEN }}
116-
fastci_otel_token: ${{ secrets.FASTCI_TOKEN }}
117103

118104
- name: Check for uncommented replace instructions on JFrog dependencies
119105
run: |

0 commit comments

Comments
 (0)