Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(action): dispatch/trigger - Trigger repository_dispatch events

Aperta
#39 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@aRustyDev ci sta già lavorando.

Dal 27/1/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement new-action

Parent Epic

Part of #22 (Atomic Release Pipeline Actions)

Priority

P1 - Core W2/W5 functionality for triggering downstream workflows

Description

Create a composite action that triggers repository_dispatch events to invoke other workflows.

Inputs

Input Required Default Description
event-type Yes - Event type to dispatch
client-payload No {} JSON payload to send
repository No github.repository Target repository
token No github.token GitHub token (needs repo scope)

Outputs

Output Description
dispatched "true" if successfully dispatched

Usage Example

- uses: arustydev/gha/actions/dispatch/trigger@v1
  with:
    event-type: "chart-pr-created"
    client-payload: '{"pr": 123, "artifact": "my-chart"}'

Implementation Notes

  • Uses GitHub API POST /repos/{owner}/{repo}/dispatches
  • Validates JSON payload before sending
  • Token must have repo scope for cross-repo dispatch

Source Reference

gha/.github/workflows/atomic-release-atomize-changes.yml:

  • Trigger validation workflow step (lines 404-418)
Lingua principale
Shell
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aRustyDev/gh

Tutte le issue di aRustyDev/gh

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.