★ wanayoo — archive 1999 https://github.com/PowerShell/PSScriptAnalyzer/pull/1519Nouvelle recherche | Portail wanayoo
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 Security scanning #1519

Open
wants to merge 8 commits into
base: master
from
Open

Conversation

@jhutchings1
Copy link

jhutchings1 commented Jun 10, 2020

PR Summary

Hi, I'm a PM on the GitHub security team. This repository is eligible to try the new GitHub Advanced Security code scanning beta.

Code scanning runs a static analysis tool called CodeQL which scans your code at build time to find any potential security issues. We've tuned the set of queries to be only the most severe, most precise issues. We'll show alerts in the security tab, and we'll show alerts for any net new vulnerabilities on pull requests as well. We've tried to make this super developer friendly, but we'd love your feedback as we work through the beta.

If you're interested in trying it out, you can merge this pull request to set up the Actions workflow. You can also get this set up yourself in any additional repositories in this organization by following these instructions

PR Checklist

jhutchings1 added 3 commits Jun 10, 2020

- name: Build with dotnet
run: |
pwsh -command ./build.ps1

This comment has been minimized.

@bergmeister

bergmeister Jun 11, 2020 Collaborator

We need to do some bootstrapping (platyPS in addition to the .Net Core SDK) before we can build, which would possible also make the setup-dotnet@v1 redundant. pwsh -command doesn't support the usage of semicolons unfortuately

Import-Module .\tools\appveyor.psm1
Invoke-AppveyorInstall -SkipPesterInstallation
./build.ps1 -All

This comment has been minimized.

@jhutchings1

jhutchings1 Jun 16, 2020 Author

I made a couple of attempts to fix this feedback, and I could not get it to play nice with codeql. The build seems to be passing and uploading analysis without these steps, though.

@bergmeister bergmeister requested a review from rjmholt Jun 11, 2020
jhutchings1 and others added 5 commits Jun 16, 2020
Co-authored-by: Christoph Bergmeister [MVP] <c.bergmeister@gmail.com>
This reverts commit 2bf5851.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.