Skip to content

Commit

Permalink
Merge pull request #17 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
cspicer committed Jul 19, 2023
2 parents 5cb9b93 + 2d31497 commit bf9eaef
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 66 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"
66 changes: 0 additions & 66 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

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

on:
push:
branches: [master]
pull_request:
branches: [master]


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

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

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 bf9eaef

Please sign in to comment.