[BUG]: Avoid triggering Release Drafter for closed, unmerged pull requests
I maintainer di solito rispondono entro 4 giorni
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 82/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions
- Ambito
- ci-cd
Direzione di ricerca
Inizia dal workflow Release Drafter in .github/workflows/ e controlla i relativi trigger degli eventi. Verifica se i push su main e master aggiornano la bozza della release, quindi rimuovi il trigger di chiusura delle PR non unite oppure limitane l’attivazione alle PR unite. Il lavoro è completato quando la chiusura di una PR non unita non avvia più il workflow e le modifiche accettate continuano ad aggiornare la bozza della release.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug Description
The current Release Drafter workflow in .github/workflows/ is triggered by both pushes to main/master and the pull_request event with types: [closed].
The closed event is triggered whether a PR is merged or closed without merging. As a result, closing an unmerged PR can trigger an unnecessary Release Drafter workflow run, even though its changes were not accepted into the project.
Since the workflow already listens for pushes to main and master, the PR-close trigger may be redundant for updating the release draft.
Proposed solution: Remove the pull_request: types: [closed] trigger and rely on pushes to the target branches to update the release draft. Alternatively, if the PR trigger is required, restrict it to merged PRs.
Expected Behavior
Release Drafter should update the release draft based on changes accepted into the target branches, without running unnecessarily when a PR is closed without merging.
Actual Behavior
Closing a PR without merging triggers the Release Drafter workflow, resulting in an unnecessary workflow execution.
Additional Context
The workflow already listens for pushes to main and master, which normally occur when changes are merged into those branches. Removing the redundant trigger could simplify the workflow and avoid unnecessary runs.
Steps to Reproduce
-
Open a pull request targeting main or master.
-
Close the PR without merging it.
-
Observe that the Release Drafter workflow is triggered by the pull_request: types: [closed] event.
Logs and Screenshots
No response
Environment Details
No response
Impact
Low - Minor inconvenience
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- Lingua principale
- JavaScript
- Stelle
- 48
- Fork
- 163
- Merge medio
- 5g 23m
- PR unite (30g)
- 32
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AOSSIE-Org/OrgExplorer
-
[BUG]: `fetchWithCache` crashes with `SyntaxError: Unexpected end of JSON input` when encountering empty repositories (HTTP 204 No Content)Forse già presa @Devnil434 l’ha presa 1 giorno fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
AOSSIE-Org/OrgExplorer#433 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
[BUG]: Table sort headers can't be used from the keyboard and don't announce sort orderForse già presa @Simran-Sobhani l’ha presa 2 giorni fa. Apertabug enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AOSSIE-Org/OrgExplorer#419 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
[BUG]: Connect PAT modal saves invalid GitHub tokens without validationForse già presa @Prince-ES l’ha presa 4 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AOSSIE-Org/OrgExplorer#416 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
[BUG]: Overview "Language Distribution" percentages are relative to the top-7 languages, not all reposForse già presa @Rohit270406 l’ha presa 7 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
AOSSIE-Org/OrgExplorer#402 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
[BUG]: Overview wrongly lists a successfully-loaded org as "could not be loaded" (case / duplicate)Forse già presa @Rajvardhan-Singh-Rathore l’ha presa 2 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
AOSSIE-Org/OrgExplorer#400 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di AOSSIE-Org/OrgExplorer
Issue simili
-
ai-driven-fuzzing bug claude Minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
linagora/cozy-client#1777 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validationForse già presa @hivecommons-hive l’ha presa oggi. Apertaagent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
cncf/endusers#2006 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
check:passed feeds:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 4 giorni
-
CMS video element: "CmsVideoPlugin" sets `volume = 0`, so videos cannot be unmuted on Android ChromeApertaneeds-triage Platform(Default)
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
all-contributors/cli#587 ·
I maintainer di solito rispondono entro 1 giorno