Backport workflow-hardening fix (unpinned-uses) to 5 release branches
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 72/100
Direção de pesquisa
Update .github/workflows/main.yml on each of the five named release branches, starting with the is-release step and the suggested action SHA. Run zizmor and actionlint for each branch to confirm the unpinned-uses findings are cleared without new findings. Done means all five branches use the pinned action and pass both checks.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
The default branch already hardened .github/workflows/main.yml against the issue(s) below, but 5 release branches still carry it. This proposes the same, minimal, scanner-verified fix for each.
What's flagged (by zizmor)
unpinned-uses— actions referenced by mutable tag/branch instead of a pinned commit SHA
Already resolved on the default branch in:
Affected release branches (5)
release/864.0.0-1(still present as of HEAD8190e4d3)release/753.0.0(still present as of HEADd5220d9f)release/843.0.0(still present as of HEADd42b2df8)release/1058.0.0(still present as of HEAD11fadce9)release/939.0.0(still present as of HEAD4d77bfb4)
Suggested per-branch patches
Each diff below was checked locally with zizmor and actionlint: the flagged finding(s) are cleared on the affected construct and no new lint or security findings are introduced. (Whitespace is normalized; only security-relevant lines change.)
release/864.0.0-1 — unpinned-uses
File .github/workflows/main.yml; suggested edits:
- ~ jobs.$J.steps[id=is-release].uses : pin(MetaMask/action-is-release -> target_ref SHA)
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -100,7 +100,7 @@
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
steps:
- id: is-release
- uses: MetaMask/action-is-release@v2
+ uses: MetaMask/action-is-release@61ff8882da996cb68cdbc8583dc53956a1ffdd8b # v2
with:
commit-starts-with: 'Release [version],Release v[version],Release/[version],Release/v[version],Release `[version]`'
release/753.0.0 — unpinned-uses
File .github/workflows/main.yml; suggested edits:
- ~ jobs.$J.steps[id=is-release].uses : pin(MetaMask/action-is-release -> target_ref SHA)
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -100,7 +100,7 @@
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
steps:
- id: is-release
- uses: MetaMask/action-is-release@v2
+ uses: MetaMask/action-is-release@61ff8882da996cb68cdbc8583dc53956a1ffdd8b # v2
with:
commit-starts-with: 'Release [version],Release v[version],Release/[version],Release/v[version],Release `[version]`'
release/843.0.0 — unpinned-uses
File .github/workflows/main.yml; suggested edits:
- ~ jobs.$J.steps[id=is-release].uses : pin(MetaMask/action-is-release -> target_ref SHA)
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -100,7 +100,7 @@
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
steps:
- id: is-release
- uses: MetaMask/action-is-release@v2
+ uses: MetaMask/action-is-release@61ff8882da996cb68cdbc8583dc53956a1ffdd8b # v2
with:
commit-starts-with: 'Release [version],Release v[version],Release/[version],Release/v[version],Release `[version]`'
release/1058.0.0 — unpinned-uses
File .github/workflows/main.yml; suggested edits:
- ~ jobs.$J.steps[id=is-release].uses : pin(MetaMask/action-is-release -> target_ref SHA)
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -104,7 +104,7 @@
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
steps:
- id: is-release
- uses: MetaMask/action-is-release@v2
+ uses: MetaMask/action-is-release@61ff8882da996cb68cdbc8583dc53956a1ffdd8b # v2
with:
commit-starts-with: ${{ vars.RELEASE_COMMIT_PREFIX }}
release/939.0.0 — unpinned-uses
File .github/workflows/main.yml; suggested edits:
- ~ jobs.$J.steps[id=is-release].uses : pin(MetaMask/action-is-release -> target_ref SHA)
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -102,7 +102,7 @@
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
steps:
- id: is-release
- uses: MetaMask/action-is-release@v2
+ uses: MetaMask/action-is-release@61ff8882da996cb68cdbc8583dc53956a1ffdd8b # v2
with:
commit-starts-with: ${{ vars.RELEASE_COMMIT_PREFIX }}
Happy to open pull requests instead if that's preferred.
- Linguagem predominante
- TypeScript
- Estrelas
- 424
- Forks
- 311
- Merge médio
- 1d 8h
- PRs com merge (30d)
- 446
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de MetaMask/core
-
EIP-1898 object selectors fail before downstream RPC in eth-json-rpc-middleware 26.0.0Talvez já em andamento @debojyoti10CC assumiu há 5 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
CI: "Validate changelog diffs" job fails on every fork-sourced pull requestTalvez já em andamento @Roxen-AS assumiu há 37 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
platform-api-docs: `scan` strategy misses ESM-only packages, which ship `.d.ts` rather than `.d.cts`Talvez já em andamento @gaohan1994 assumiu há 38 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
[utils] Replace the `uuid` dependency with `crypto.randomUUID()`Talvez já em andamento @avantikonde assumiu há 51 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
MetaMask/core#10210 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
[utils] `toWei` accepts fractional wei and returns wrong valuesTalvez já em andamento @Roxen-AS assumiu há 37 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
Todas as issues de MetaMask/core
Issues semelhantes
-
Flaky test: selecting a portion just after inserting it can also match its Change and Delete buttonsAbertaready-for-agent
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
linagora/dcs-onlyoffice#172 ·
-
bug follow-up
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
nightly-tests
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
BlackBeltTechnology/pi-agent-dashboard#1226 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
danielmiessler/LifeOS#3028 ·
Mantenedores costumam responder em até 5 dias
-
execute_sql cannot create a SQLite trigger or a PostgreSQL BEGIN ATOMIC function: the statement is cut at the semicolons inside its bodyTalvez já em andamento @goranai assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia