diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 00000000..7fde8e46 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,43 @@ +name: 'CodeQL' + +on: + push: + branches: [main] + pull_request: + branches: [main] + schedule: + - cron: '0 0 * * 1' + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + runs-on: ${{ matrix.language == 'c-cpp' && 'windows-latest' || 'ubuntu-latest' }} + permissions: + security-events: write + packages: read + actions: read + contents: read + + strategy: + fail-fast: false + matrix: + language: + - javascript-typescript + - c-cpp + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: '/language:${{ matrix.language }}' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 76eb95e1..b06114c4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -74,7 +74,7 @@ steps: inputs: targetType: inline script: | - Start-Process "shell:AppsFolder\Microsoft.ReactNativeGallery_8wekyb3d8bbwe!App" + Start-Process "shell:AppsFolder\Microsoft.ReactNativeGallery-Experimental_8wekyb3d8bbwe!App" Start-Sleep -Seconds 10 $process = Get-Process -Name "rngallery" -ErrorAction SilentlyContinue diff --git a/windows/rngallery.Package/Package.appxmanifest b/windows/rngallery.Package/Package.appxmanifest index 02f80d88..754a7a57 100644 --- a/windows/rngallery.Package/Package.appxmanifest +++ b/windows/rngallery.Package/Package.appxmanifest @@ -7,7 +7,7 @@ IgnorableNamespaces="uap rescap"> diff --git a/windows/rngallery.Package/rngallery.Package.wapproj b/windows/rngallery.Package/rngallery.Package.wapproj index 24be71b1..14992449 100644 --- a/windows/rngallery.Package/rngallery.Package.wapproj +++ b/windows/rngallery.Package/rngallery.Package.wapproj @@ -14,6 +14,30 @@ $(MSBuildExtensionsPath)\Microsoft\DesktopBridge\ + False + SHA256 + False + True + x86|x64 + 0 + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always @@ -78,4 +102,4 @@ - + \ No newline at end of file