Skip to content

Commit

Permalink
Update jss.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavafenkin authored Mar 27, 2024
1 parent a81d60f commit c60b754
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/jss.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: Jenkins Security Scan

on:
workflow_call:
inputs:
java-version:
description: Version of Java set up for the build. See actions/setup-java documentation for values.
type: string
required: true
java-cache:
description: What kind of Java dependency cache to set up. See actions/setup-java documentation for values.
type: string
required: false
push:
branches:
- master
pull_request:
types: [ opened, synchronize, reopened ]

permissions:
security-events: write
Expand All @@ -30,8 +25,8 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ inputs.java-version }}
cache: ${{ inputs.java-cache }}
java-version: 11
cache: ''

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down

0 comments on commit c60b754

Please sign in to comment.