Segurança: fixar por SHA as actions do codeql.yml e dos outros workflows
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start with .github/workflows/codeql.yml, where actions/checkout@v7 and github/codeql-action/*@v4 are referenced by tag. Use boas-vindas.yml as the pattern for SHA pinning, and look up each tag's commit with the gh api command given in the issue. Replace each tag with its full SHA and keep the tag in a trailing comment such as # v7. Done when the CodeQL checks, including codeql (actions) and codeql (javascript-typescript), pass on the PR and the SHAs are cited there.
Written by the indexing model from the issue text.
Description
Objetivo
Fixar por SHA as actions dos workflows que hoje usam tag. O primeiro é o codeql.yml, com actions/checkout@v7 e github/codeql-action/*@v4.
Motivo
A R19 do Esp SecOps no #339 achou um risco Baixo, que fica fora daquele PR. Uma tag pode ser movida para outro commit; um SHA não pode. Os workflows novos já são fixados por SHA (boas-vindas.yml), e os antigos ainda não. O Dependabot (github-actions, semanal) continua atualizando os SHAs.
Critérios de aceite
- O
codeql.ymlusa cada action por SHA, com a tag num comentário ao lado (# v7). - Os SHAs foram conferidos com
gh api repos/<dono>/<action>/git/ref/tags/<tag>e estão citados no PR. - Os outros workflows (
ci.yml,pages.yml,imagem.yml,disponibilidade.ymle as varreduras) foram listados no PR com o que falta. Se couberem, entram no mesmo PR; se não, viram uma issue. - O CI fica verde, inclusive
codeql (actions)ecodeql (javascript-typescript).
Tamanho e prioridade
P (1 a 2 h) · p2. É Baixo e não bloqueia a abertura da quinta.
Fora do escopo
- Trocar versões das actions: só fixar as que já são usadas.
- Os PRs do Dependabot abertos (#305 a #309), que já mexem nessas linhas. Se um deles for mesclado antes, este PR parte da
mainnova.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 15h 6m
- Merged PRs (30d)
- 118
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from learnTECH-community/formacao-dev
-
Comunidade: reconhecer quem contribui, inclusive sem código (docs/comunidade/quem-contribuiu.md)Opendocumentation trilha:T11
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
learnTECH-community/formacao-dev#351 ·
Maintainers usually reply within 1 day
-
trilha:T4
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
learnTECH-community/formacao-dev#348 ·
Maintainers usually reply within 1 day
-
boa-primeira-issue good first issue trilha:T2
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
learnTECH-community/formacao-dev#347 ·
Maintainers usually reply within 1 day
-
boa-primeira-issue good first issue trilha:T2
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
learnTECH-community/formacao-dev#346 ·
Maintainers usually reply within 1 day
-
trilha:T9
Difficulty 2/5 Under an hour Newbie friendliness 72/100
learnTECH-community/formacao-dev#343 ·
Maintainers usually reply within 1 day
All issues in learnTECH-community/formacao-dev
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Possibly taken @goranai claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
NL-BioImaging/OMERO.biomero#92 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 74/100
nicobailon/pi-web-access#710 ·
Maintainers usually reply within 1 day