-
Notifications
You must be signed in to change notification settings - Fork 73
Actualización de dependencia idna de 3.4 a 3.7 en scripts de upgrade de CodeQL #940
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
Open
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3d6b327
Bump jinja2 from 2.11.3 to 3.1.6 in /scripts
dependabot[bot] 7cc4838
Bump idna from 3.4 to 3.7 in /scripts/upgrade-codeql-dependencies
dependabot[bot] 1e9f9f8
Merge pull request #3 from AndresMaqueo/dependabot/pip/scripts/upgrad...
AndresMaqueo 7c01dae
Bump certifi from 2023年7月22日 to 2024年7月4日 in /scripts
dependabot[bot] 9d10a4c
Bump urllib3 in /scripts/upgrade-codeql-dependencies
dependabot[bot] dd3387a
Bump requests from 2.31.0 to 2.32.4 in /scripts
dependabot[bot] 70aa936
Merge branch 'main' into main
AndresMaqueo 839d2dc
Merge pull request #5 from AndresMaqueo/dependabot/pip/scripts/upgrad...
AndresMaqueo 9278cdf
Merge pull request #4 from AndresMaqueo/dependabot/pip/scripts/reques...
AndresMaqueo f876d22
Merge pull request #2 from AndresMaqueo/dependabot/pip/scripts/jinja2...
AndresMaqueo 8db576f
Merge pull request #1 from AndresMaqueo/dependabot/pip/scripts/certif...
AndresMaqueo 6e60f68
Add CodeQL analysis workflow configuration
AndresMaqueo 2a133d5
Potential fix for code scanning alert no. 25: Workflow does not conta...
AndresMaqueo 9de4c5a
Merge pull request #15 from AndresMaqueo/alert-autofix-25
AndresMaqueo 57031bd
Merge branch 'github:main' into main
AndresMaqueo 83d6018
ci: use ubuntu-22.04 instead of ubuntu-latest-xl to avoid queueing
AndresMaqueo 7c7726f
chore: bootstrap branch (#17)
AndresMaqueo 2dd4119
fix(ci): optimize CodeQL workflow (timeout, cache, multiproceso)
AndresMaqueo ecf8080
Merge branch 'github:main' into main
AndresMaqueo 65d7e8f
Bump github/codeql-action from 3 to 4 (#18)
dependabot[bot] c1a46e3
fix: scripts/requirements.txt to reduce vulnerabilities (#28)
AndresMaqueo 2b57e01
Merge branch 'github:main' into main
AndresMaqueo 1f8f6b5
Bump actions/checkout from 4 to 6 (#25)
dependabot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
.github/workflows/codeql.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| name: "CodeQL Advanced" | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
| schedule: | ||
| - cron: '27 4 * * 4' # análisis semanal automático | ||
|
|
||
| permissions: | ||
| contents: read | ||
| security-events: write | ||
| actions: read | ||
| packages: read | ||
|
|
||
| jobs: | ||
| analyze: | ||
| name: Analizar (${{ matrix.language }}) | ||
| runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
| timeout-minutes: 30 # ⏱️ aumenta tiempo máximo | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - language: actions | ||
| build-mode: none | ||
| - language: c-cpp | ||
| build-mode: none | ||
| - language: javascript-typescript | ||
| build-mode: none | ||
| - language: python | ||
| build-mode: none | ||
|
|
||
| steps: | ||
| - name: 🧰 Checkout del repositorio | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: ⚡ Configurar caché de CodeQL | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.codeql-cache | ||
| key: ${{ runner.os }}-codeql-${{ matrix.language }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-codeql- | ||
|
|
||
| - name: 🧩 Inicializar CodeQL | ||
| uses: github/codeql-action/init@v4 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
| build-mode: ${{ matrix.build-mode }} | ||
| queries: +security-extended,security-and-quality | ||
|
|
||
| - name: 🚀 Analizar con CodeQL | ||
| uses: github/codeql-action/analyze@v4 | ||
| with: | ||
| category: "/language:${{ matrix.language }}" | ||
| output: results-${{ matrix.language }}.sarif | ||
|
|
||
| - name: 📦 Generar paquete de consultas CodeQL | ||
| run: | | ||
| echo "Creando paquete para ${{ matrix.language }}..." | ||
| codeql pack create --threads=4 --timeout=900 || echo "⚠️ Error leve, continuará..." | ||
| echo "Verificando integridad del paquete..." | ||
| codeql pack verify || echo "⚠️ Verificación incompleta." | ||
|
|
||
| - name: ☁️ Subir artefacto SARIF | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: codeql-results-${{ matrix.language }} | ||
| path: results-${{ matrix.language }}.sarif | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
scripts/requirements.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,16 @@ | ||
| beautifulsoup4==4.9.3 | ||
| certifi==2023.7.22 | ||
| certifi==2024.7.4 | ||
| chardet==3.0.4 | ||
| gitdb==4.0.5 | ||
| GitPython==3.1.41 | ||
| idna==2.10 | ||
| Jinja2==2.11.3 | ||
| MarkupSafe==1.1.1 | ||
| requests==2.31.0 | ||
| Jinja2==3.1.6 | ||
| MarkupSafe==2.1.5 | ||
| requests==2.32.4 | ||
| smmap==3.0.5 | ||
| soupsieve==2.0.1 | ||
| pyyaml==6.0.1 | ||
| urllib3==1.26.18 | ||
| urllib3==2.6.0 | ||
| wheel==0.38.1 | ||
| jsonschema==4.9.1 | ||
| marko==1.2.1 | ||
| marko==1.2.1 |
8 changes: 4 additions & 4 deletions
scripts/upgrade-codeql-dependencies/requirements.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| certifi==2023.7.22 | ||
| certifi==2024.7.4 | ||
| charset-normalizer==3.2.0 | ||
| idna==3.4 | ||
| requests==2.31.0 | ||
| idna==3.7 | ||
| requests==2.32.4 | ||
| semantic-version==2.10.0 | ||
| urllib3==1.26.18 | ||
| urllib3==2.5.0 | ||
| pyyaml==6.0.1 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.