Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CodeQL workflow to GitHub Actions #379

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

esabol
Copy link
Member

@esabol esabol commented Nov 12, 2023

This pull request adds a CodeQL workflow to the repository's GitHub Actions.

See https://codeql.github.com/ for details on CodeQL.

After merging, I think you probably need to enable it in the repository's Settings. See https://docs.github.com/en/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning for instructions. We need to use the "Advanced" setup because gearmand needs various prerequisites installed.

Some of the warnings seem spurious. You can disable specific warnings on specific lines of the code in the web interface. We'll probably need to do that at some point, but some of the warnings should be fixed, I feel.

@esabol esabol force-pushed the add-codeql-workflow branch from 0d2ec76 to a78b49e Compare November 13, 2023 03:32
@esabol esabol added the codeql label Nov 13, 2023
# queries: security-extended,security-and-quality

- name: Install dependencies
run: sudo apt-get -o Acquire::Retries=3 -y install tzdata make apt-file software-properties-common libssl-dev build-essential autotools-dev autoconf automake pkgconf libboost-all-dev gperf libevent-dev uuid-dev sphinx-doc sphinx-common libhiredis-dev gcc g++
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like we have expressed this list in like 10 places. I'm going to open an issue to collapse this into a bash script.

@SpamapS SpamapS merged commit e4a64a3 into gearman:master Nov 18, 2023
10 checks passed
@esabol esabol deleted the add-codeql-workflow branch November 18, 2023 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants