Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xhayper committed Aug 7, 2022
2 parents 33de2e7 + 25ef216 commit 924dc84
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
paths:
- src
37 changes: 37 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '16 2 * * 3'

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

strategy:
fail-fast: false
matrix:
language: [ 'typescript' ]

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
packs: codeql/javascript-queries
config-file: ./.github/codeql/codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ client.login();

Q: It throws "Couldn't Connect" error!<br>
A: Could mean that it can't find discord IPC path / WebSocket path, If you are using the IPC transport, you can implement your own path logic.

<!--
[![Verified on Openbase](https://badges.openbase.com/js/verified/@xhayper/discord-rpc.svg?token=kcR9ysbKX4fe8vEPkMdZdYpJdw9nOyt4YP/TVNC584c=)](https://openbase.com/js/@xhayper/discord-rpc?utm_source=embedded&utm_medium=badge&utm_campaign=verified-badge&utm_term=js/@xhayper/discord-rpc)
-->

0 comments on commit 924dc84

Please sign in to comment.