Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/accessTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand All @@ -25,11 +25,11 @@ jobs:
matrix:
os:
- name: ubuntu
version: latest
version: 24.04
- name: windows
version: latest
version: 2022
- name: macos
version: latest
version: 14
runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
steps:
- name: Skip macOS - JGC-413
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- "master"
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/artifactoryTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand All @@ -23,11 +23,11 @@ jobs:
suite: [artifactory, artifactoryProject]
os:
- name: ubuntu
version: latest
version: 24.04
- name: windows
version: latest
version: 2022
- name: macos
version: latest
version: 14
runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
env:
JFROG_CLI_LOG_LEVEL: DEBUG
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CLA Assistant"
on:
# issue_comment triggers this action on each comment on issues and pull requests
issue_comment:
types: [ created ]
pull_request_target:
types: [ opened, synchronize ]
types: [created]
pull_request:
types: [opened, synchronize]
jobs:
CLAssistant:
runs-on: ubuntu-latest
Expand All @@ -15,4 +15,4 @@ jobs:
event_comment_body: ${{ github.event.comment.body }}
event_name: ${{ github.event_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CLA_SIGN_TOKEN: ${{ secrets.CLA_SIGN_TOKEN }}
CLA_SIGN_TOKEN: ${{ secrets.CLA_SIGN_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/distributionTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/dockerTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand All @@ -16,8 +16,13 @@ concurrency:
cancel-in-progress: true
jobs:
Docker-tests:
name: ubuntu-latest
runs-on: ubuntu-latest
name: Docker tests (${{ matrix.os.name }})
strategy:
matrix:
os:
- name: ubuntu
version: 24.04
runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frogbot-scan-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Frogbot Scan Pull Request"
on:
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:

# [Optional, default: "TRUE"]
# Fails the Frogbot task if any security issue is found.
# JF_FAIL: "FALSE"
JF_FAIL: "FALSE"

# [Optional]
# Frogbot will download the project dependencies if they're not cached locally. To download the
Expand Down
130 changes: 0 additions & 130 deletions .github/workflows/frogbot-scan-repository.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/goTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand Down
20 changes: 4 additions & 16 deletions .github/workflows/gradleTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand All @@ -22,43 +22,33 @@ jobs:
matrix:
os:
- name: ubuntu
version: latest
version: 24.04
- name: windows
version: latest
version: 2022
- name: macos
version: latest
version: 14
gradle-version: [5.6.4, 8.3]
runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false
steps:
- name: Skip macOS - JGC-413
if: matrix.os.name == 'macos'
run: |
echo "::warning::JGC-413 - Skip until artifactory bootstrap in osx is fixed"
exit 0

- name: Checkout code
if: matrix.os.name != 'macos'
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Java
if: matrix.os.name != 'macos'
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "11"

- name: Setup Gradle
if: matrix.os.name != 'macos'
uses: gradle/gradle-build-action@v2
with:
gradle-version: ${{ matrix.gradle-version }}

- name: Setup Go with cache
if: matrix.os.name != 'macos'
uses: jfrog/.github/actions/install-go-with-cache@main

- name: Debug macOS Environment and Set Timeout
Expand All @@ -76,12 +66,10 @@ jobs:
echo "RT_CONNECTION_TIMEOUT_SECONDS=2400" >> $GITHUB_ENV

- name: Install local Artifactory
if: matrix.os.name != 'macos'
uses: jfrog/.github/actions/install-local-artifactory@main
with:
RTLIC: ${{ secrets.RTLIC }}
RT_CONNECTION_TIMEOUT_SECONDS: ${{ env.RT_CONNECTION_TIMEOUT_SECONDS || '1200' }}

- name: Run Gradle tests
if: matrix.os.name != 'macos'
run: go test -v github.com/jfrog/jfrog-cli --timeout 0 --test.gradle
2 changes: 1 addition & 1 deletion .github/workflows/lifecycleTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mavenTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand All @@ -22,11 +22,11 @@ jobs:
matrix:
os:
- name: ubuntu
version: latest
version: 24.04
- name: windows
version: latest
version: 2022
- name: macos
version: latest
version: 14
runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
steps:
- name: Skip macOS - JGC-413
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/npmTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- "master"
# Triggers the workflow on PRs to master branch only.
pull_request_target:
pull_request:
types: [opened, synchronize]
branches:
- "master"
Expand All @@ -22,11 +22,11 @@ jobs:
matrix:
os:
- name: ubuntu
version: latest
version: 24.04
- name: windows
version: latest
version: 2022
- name: macos
version: latest
version: 14
runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
steps:
- name: Skip macOS - JGC-413
Expand Down
Loading
Loading