bunkerweb/.github/workflows/codeql-analysis.yml
Théophile Diot d4b681bb5a Squashed 'src/deps/src/libmaxminddb/' changes from 7acfe43a72..24df335085
24df335085 Bumped version to 1.11.0
d8f073da2d Add generated to gitignore
db7a5e13e2 Update Changes.md
ee4449bb2e Merge pull request #354 from ankurvdev/ankurvdev-patch-1
8d3f4f4e03 Fix Build issues from using vcpkg port
a4fa79da16 Merge pull request #353 from maxmind/greg/cmake-man
6c82f58994 Generate and install man pages with CMake
5ef5d3eb38 Update copyright year
e0562d5eab Merge pull request #352 from maxmind/greg/fix-read-only-token
90cb8107ac Give CodeQL build write access on security-events
6b9d6bc5f5 Merge pull request #350 from maxmind/greg/release-1.10.0
008d6925aa Fix grammar

git-subtree-dir: src/deps/src/libmaxminddb
git-subtree-split: 24df335085318a26a5f3aafba12fec3cd322e570
2024-08-30 11:10:46 +02:00

45 lines
1.1 KiB
YAML

name: "Code scanning - action"
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
schedule:
- cron: '0 7 * * 2'
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
submodules: true
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
- run: sudo apt install libipc-run3-perl libipc-system-simple-perl libfile-slurp-perl libfile-which-perl pandoc
- run: |
./bootstrap
./configure
make
make safedist
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3