summaryrefslogtreecommitdiff
path: root/dot-oh-my-zsh/custom/plugins/fzf/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-06-03 19:56:39 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-06-03 19:56:39 +0800
commitca968c4e5040f1ff4b5b5e12d9312360d807dcc1 (patch)
tree9900920e8f566794560c1519678e344351d2803b /dot-oh-my-zsh/custom/plugins/fzf/.github/workflows/codeql-analysis.yml
parent5f3deaff0bf006a1a353e57b82ad48c0e8f143bc (diff)
added submodules, change . -> dot (see man stow --dotfiles)
Diffstat (limited to 'dot-oh-my-zsh/custom/plugins/fzf/.github/workflows/codeql-analysis.yml')
-rw-r--r--dot-oh-my-zsh/custom/plugins/fzf/.github/workflows/codeql-analysis.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/dot-oh-my-zsh/custom/plugins/fzf/.github/workflows/codeql-analysis.yml b/dot-oh-my-zsh/custom/plugins/fzf/.github/workflows/codeql-analysis.yml
new file mode 100644
index 00000000..291aaf7c
--- /dev/null
+++ b/dot-oh-my-zsh/custom/plugins/fzf/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,44 @@
+# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning
+name: CodeQL
+
+on:
+ push:
+ branches: [ master, devel ]
+ pull_request:
+ branches: [ master ]
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+jobs:
+ analyze:
+ permissions:
+ actions: read # for github/codeql-action/init to get workflow details
+ contents: read # for actions/checkout to fetch code
+ security-events: write # for github/codeql-action/autobuild to send a status report
+ name: Analyze
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ language: ['go']
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
+ with:
+ fetch-depth: 0
+
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@1ed1437484560351c5be56cf73a48a279d116b78
+ with:
+ languages: ${{ matrix.language }}
+
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@1ed1437484560351c5be56cf73a48a279d116b78
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@1ed1437484560351c5be56cf73a48a279d116b78