Skip to content

Merge pull request #3365 from 1c-syntax/dependabot/gradle/io.sentry-s… #4614

Merge pull request #3365 from 1c-syntax/dependabot/gradle/io.sentry-s…

Merge pull request #3365 from 1c-syntax/dependabot/gradle/io.sentry-s… #4614

name: "CodeQL"
on:
push:
branches: [develop, master]
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
schedule:
- cron: '0 0 * * 5'
jobs:
gatekeeper:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'translations_') == false || github.event_name == 'push'
steps:
- run: echo 'Open the Golden Gate'
analyse:
needs: gatekeeper
name: Analyse
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: gradle
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
with:
languages: java
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
- run: ./gradlew jar
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3