Skip to content

feat:simplify release.yml#116

Merged
avivkeller merged 2 commits into
mainfrom
feat/repository-dispatch-trigger
Jun 2, 2026
Merged

feat:simplify release.yml#116
avivkeller merged 2 commits into
mainfrom
feat/repository-dispatch-trigger

Conversation

@ryzrr

@ryzrr ryzrr commented Jun 2, 2026

Copy link
Copy Markdown
Member

Summary
Adds repository_dispatch trigger to release.yml so webpack/webpack core can automatically fire this workflow on a new release

What kind of change does this PR introduce?
CI/CD improvement that adds repository_dispatch as a second trigger to release.yml so webpack/webpack core can automatically fire this workflow on a new release

Did you add tests for your changes?
No , Aren't unit testable.

Does this PR introduce a breaking change?
No, nothing breaking.

If relevant, what needs to be documented once your changes are merged or what have you already documented?
Nothing needs to be documented , Only A follow up PR will be raised inside the core repo to send the tag ,cross repo!

Use of AI
No

Copilot AI review requested due to automatic review settings June 2, 2026 10:55
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-doc-kit Ready Ready Preview, Comment Jun 2, 2026 1:04pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a repository_dispatch trigger to the existing release workflow so it can be invoked cross-repository (e.g., from webpack/webpack on new releases), while simplifying the workflow inputs and PR body.

Changes:

  • Add repository_dispatch trigger (types: [webpack-release]) alongside workflow_dispatch.
  • Remove the commit workflow input and related COMMIT/HEAD_COMMIT handling.
  • Update the PR body text to reference only the release tag.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml Outdated
@ryzrr

ryzrr commented Jun 2, 2026

Copy link
Copy Markdown
Member Author

For the dispatch PR ,we need a PAT or GitHub App token stored as a secret inside the core ?

@ryzrr ryzrr self-assigned this Jun 2, 2026
@avivkeller

Copy link
Copy Markdown
Member

We'll add a secret to core for this. Something like DISPATCH_TOKEN.

Comment thread .github/workflows/release.yml Outdated
@avivkeller avivkeller changed the title feat: add repository_dispatch trigger and simplify release.yml feat:simplify release.yml Jun 2, 2026
@avivkeller avivkeller merged commit 70333a4 into main Jun 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants