Skip to content

Commit

Permalink
Merge pull request #117 from treasure-data/codeql-dependabot-update
Browse files Browse the repository at this point in the history
Update CodeQL actions to v2 and enable Dependabot for GitHub Actions
  • Loading branch information
minidragon88 committed May 19, 2023
2 parents 8455367 + fe2026d commit 808295f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 47 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
version: 2
updates:
# Enable workflow version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
47 changes: 0 additions & 47 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: "CodeQL SAST"

on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '0 0 1 * *'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [java]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 808295f

Please sign in to comment.