<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch codeql
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/025aae1c592c2c16a0914daed18b39d0015cf5d4">https://github.com/macports/macports-base/commit/025aae1c592c2c16a0914daed18b39d0015cf5d4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 025aae1c592c2c16a0914daed18b39d0015cf5d4
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Sun Feb 27 08:27:03 2022 +0000
<span style='display:block; white-space:pre;color:#404040;'> Create codeql.yml
</span>---
.github/workflows/codeql.yml | 70 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000..a6642f5d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/.github/workflows/codeql.yml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,70 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# For most projects, this workflow file will not need changing; you simply need
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# to commit it to your repository.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# You may wish to alter this file to override the set of languages analyzed,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# or to provide custom queries or build logic.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ******** NOTE ********
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# We have attempted to detect the languages in your repository. Please check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the `language` matrix defined below to confirm you have the correct set of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# supported CodeQL languages.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name: "CodeQL"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+on:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ push:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ branches: [ codeql ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pull_request:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The branches below must be a subset of the branches above
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ branches: [ master ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ schedule:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - cron: '32 7 * * 5'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+jobs:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ analyze:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ name: Analyze
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ runs-on: ubuntu-latest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ permissions:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ actions: read
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ contents: read
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ security-events: write
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ strategy:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fail-fast: false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ matrix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ language: [ 'cpp' ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Learn more about CodeQL language support at https://git.io/codeql-language-support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ steps:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Checkout repository
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uses: actions/checkout@v2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Initializes the CodeQL tools for scanning.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Initialize CodeQL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uses: github/codeql-action/init@v1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ languages: ${{ matrix.language }}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If you wish to specify custom queries, you can do so here or in a config file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # By default, queries listed here will override any specified in a config file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Prefix the list here with "+" to use these queries and those in the config file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If this step fails, then you should remove it and run the build manually (see below)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Autobuild
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uses: github/codeql-action/autobuild@v1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # âšī¸ Command-line programs to run using the OS shell.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # đ https://git.io/JvXDl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and modify them (or add more) to build your code if your project
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # uses a compiled language
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #- run: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # make bootstrap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # make release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Perform CodeQL Analysis
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uses: github/codeql-action/analyze@v1
</span></pre><pre style='margin:0'>
</pre>