Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hknokh committed Apr 30, 2024
1 parent 64612d1 commit 13f403d
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
time: "13:00"
open-pull-requests-limit: 10
versioning-strategy: increase
34 changes: 34 additions & 0 deletions .github/workdlows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "CodeQL"

on:
push:
branches: [ master ]
paths:
- 'src/**/*' # Trigger only when files in src folder are changed
pull_request:
branches: [ master ]
paths:
- 'src/**/*' # Trigger only when files in src folder are changed
schedule:
- cron: '0 14 * * 0' # Schedule a weekly run

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: typescript

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

0 comments on commit 13f403d

Please sign in to comment.