Skip to content

Commit

Permalink
codeql workflow github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydenchee97 committed Sep 20, 2024
1 parent 7992334 commit 65f9e30
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 22 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CodeQL Analysis

on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
codeql:
name: Analyze with CodeQL
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [javascript]
# You can add more languages if needed

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

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

- name: Autobuild project
run: npm install

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
9 changes: 8 additions & 1 deletion App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ const authConfig = {
domain: process.env.EXPO_PUBLIC_OAUTH_DOMAIN,
redirectSignIn: process.env.EXPO_PUBLIC_OAUTH_REDIRECT_SIGN_IN,
redirectSignOut: process.env.EXPO_PUBLIC_OAUTH_REDIRECT_SIGN_OUT,
responseType: process.env.EXPO_PUBLIC_OAUTH_RESPONSE_TYPE
responseType: process.env.EXPO_PUBLIC_OAUTH_RESPONSE_TYPE,
scope: [
"phone",
"email",
"openid",
"profile",
"aws.cognito.signin.user.admin",
]
}
};

Expand Down
21 changes: 0 additions & 21 deletions New Text Document.txt

This file was deleted.

0 comments on commit 65f9e30

Please sign in to comment.