-
Notifications
You must be signed in to change notification settings - Fork 0
fix: consolidated security + deps + SHA pins (April 2026) #205
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -28,7 +28,7 @@ jobs: | |||||
| steps: | ||||||
| # Récupérer le contenu du site publié (branche gh-pages) pour scanner ses liens | ||||||
| - name: Checkout du dépôt | ||||||
| uses: actions/checkout@v4 | ||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||||||
| with: | ||||||
| ref: gh-pages | ||||||
|
|
||||||
|
|
@@ -52,7 +52,7 @@ jobs: | |||||
| # S'assurer que les labels requis existent avant de créer l'issue | ||||||
| - name: Créer les labels si absents | ||||||
| if: steps.lychee.outputs.exit_code != 0 | ||||||
| uses: actions/github-script@v7 | ||||||
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 | ||||||
| with: | ||||||
| script: | | ||||||
| const requiredLabels = [ | ||||||
|
|
@@ -114,7 +114,7 @@ jobs: | |||||
| steps: | ||||||
| # Récupérer le contenu du site publié (branche gh-pages) pour l'archiver | ||||||
| - name: Checkout complet du dépôt | ||||||
| uses: actions/checkout@v4 | ||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||||||
| with: | ||||||
| ref: gh-pages | ||||||
| fetch-depth: 0 | ||||||
|
|
@@ -142,7 +142,7 @@ jobs: | |||||
|
|
||||||
| # Publier l'archive dans une GitHub Release taguée | ||||||
| - name: Publier le backup dans GitHub Releases | ||||||
| uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2 | ||||||
| uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0 | ||||||
| with: | ||||||
| tag_name: backup-${{ steps.archive.outputs.date }} | ||||||
| name: "💾 Backup hebdomadaire — ${{ steps.archive.outputs.date }}" | ||||||
|
|
@@ -179,7 +179,7 @@ jobs: | |||||
| # Marquer les issues sans activité depuis 60 jours comme "stale" | ||||||
| # et les fermer automatiquement après 7 jours supplémentaires | ||||||
| - name: Gérer les issues et PR inactives | ||||||
| uses: actions/stale@v9 | ||||||
| uses: actions/stale@v10 | ||||||
|
||||||
| uses: actions/stale@v10 | |
| uses: actions/stale@c7ee4bb7fa9e1923e38d45e1020c8b2c7b1f5fca # v10 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,39 @@ | ||
| node_modules | ||
| # Local Netlify folder | ||
| .netlify | ||
| E | ||
| # Dependencies | ||
| node_modules/ | ||
|
|
||
| # Netlify | ||
| .netlify/ | ||
|
|
||
| # macOS | ||
| .DS_Store | ||
| .AppleDouble | ||
| .LSOverride | ||
|
|
||
| # Logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
|
|
||
| # Build outputs | ||
| _site/ | ||
| dist/ | ||
| .jekyll-cache/ | ||
| .jekyll-metadata | ||
|
|
||
| # Environment files | ||
| .env | ||
| .env.local | ||
| .env.*.local | ||
|
|
||
| # Editor directories | ||
| .idea/ | ||
| .vscode/ | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # OS generated | ||
| Thumbs.db | ||
| ehthumbs.db | ||
| Desktop.ini |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2024 DavidKRK | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ce workflow
codeql.ymlexécute déjà CodeQL surgh-pages(avec une matrice incluant notammentactions), alors quesecurity.ymllance aussi CodeQL sur les mêmes événements. Cela peut entraîner des runs/alertes en double et rend plus difficile le diagnostic du problème mentionné sur la matriceactions. Envisagez de consolider vers un seul workflow CodeQL (ou de différencier clairement les triggers / matrices entre les deux).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot apply changes based on this feedback