denoland / denoland/deploy_feedback

Support `workflow_run` event type in GitHub Actions deploy

Open
#645 0 comments 6 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### What problem are you trying to solve?

Among the available event types (https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows), Deno Deploy only support `pull_request`, `push`, `schedule`, and `workflow_dispatch` now to trigger the deployment process.

There are some reasonable use cases to use other event types - in particular `workflow_run`, where for example another workflow creates and pushes a file to the repo, and then `workflow_run` event is fired to trigger the deployment process.

### Describe the solution you'd like

We can start the deployment process by `workflow_run` event. Something like:

```yaml
on:
workflow_run:
workflows: [Do something]
types:
- completed
```

### Describe alternatives you've considered

N/A

### Documentation, Adoption, Migration Strategy

https://discord.com/channels/684898665143206084/826085979344470037/1225472297079537764

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.