You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
Commit 8a9d3eb
Browse filesBrowse the repository at this point in the historyBrowse files
* Reformt codes and add CodeQL action
Signed-off-by: Eli Ma <eli@patch.sh>
* Fix the pgp file fmt error
Signed-off-by: Eli Ma <eli@patch.sh>
* Add deploy workflow conditions
Signed-off-by: Eli Ma <eli@patch.sh>
---------
Signed-off-by: Eli Ma <eli@patch.sh>
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
28
+
runs-on: 'ubuntu-latest'
29
+
permissions:
30
+
# required for all workflows
31
+
security-events: write
32
+
33
+
# required to fetch internal or private CodeQL packs
34
+
packages: read
35
+
36
+
# only required for workflows in private repositories
37
+
actions: read
38
+
contents: read
39
+
40
+
strategy:
41
+
fail-fast: false
42
+
matrix:
43
+
include:
44
+
- language: actions
45
+
build-mode: none
46
+
- language: rust
47
+
build-mode: none
48
+
- language: javascript-typescript
49
+
build-mode: none
50
+
steps:
51
+
- name: Checkout repository
52
+
uses: actions/checkout@v4
53
+
54
+
# Add any setup steps before running the `github/codeql-action/init` action.
55
+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
56
+
# or others). This is typically only required for manual builds.
57
+
# - name: Setup runtime (example)
58
+
# uses: actions/setup-example@v1
59
+
60
+
# Initializes the CodeQL tools for scanning.
61
+
- name: Initialize CodeQL
62
+
uses: github/codeql-action/init@v4
63
+
with:
64
+
languages: ${{ matrix.language }}
65
+
build-mode: ${{ matrix.build-mode }}
66
+
# If you wish to specify custom queries, you can do so here or in a config file.
67
+
# By default, queries listed here will override any specified in a config file.
68
+
# Prefix the list here with "+" to use these queries and those in the config file.
69
+
70
+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
0 commit comments