Skip to content

Make use of shared workflows - #950

Merged
sicoyle merged 5 commits into
dapr:mainfrom
acroca:shared-workflows
Apr 21, 2026
Merged

sicoyle merged 5 commits into
dapr:mainfrom
acroca:shared-workflows

Conversation

@acroca

@acroca acroca commented Mar 10, 2026

Copy link
Copy Markdown
Member

@acroca
acroca requested review from a team as code owners March 10, 2026 13:20
@codecov

codecov Bot commented Mar 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.37%. Comparing base (bffb749) to head (4777dec).
⚠️ Report is 106 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #950      +/-   ##
==========================================
- Coverage   86.63%   81.37%   -5.26%     
==========================================
  Files          84      139      +55     
  Lines        4473    13475    +9002     
==========================================
+ Hits         3875    10965    +7090     
- Misses        598     2510    +1912     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@acroca
acroca marked this pull request as draft March 11, 2026 09:56
@acroca

acroca commented Mar 11, 2026 •

Copy link
Copy Markdown
Member Author

Will bring back the deleted pieces, as discussed here: dapr/go-sdk#815

acroca added 2 commits March 16, 2026 17:41
Signed-off-by: Albert Callarisa <albert@diagrid.io>
Signed-off-by: Albert Callarisa <albert@diagrid.io>
@acroca
acroca force-pushed the shared-workflows branch from 5e0713d to c943265 Compare March 16, 2026 16:41
@acroca
acroca marked this pull request as ready for review March 16, 2026 16:42

@sicoyle sicoyle 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.

one comment pls and then this is g2g 🚀 thank you!!

uses: dapr/.github/.github/actions/setup-dapr-runtime@main
with:
go-version: ${{ env.GOVER }}
commit: ${{ github.event.inputs.daprdapr_commit }}

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.

why is this daprdapr_commit?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

it's the name of the input, I didn't change it in this commit, I guess it's because it references the dapr/dapr repo...

Signed-off-by: Albert Callarisa <albert@diagrid.io>

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

This PR updates the repository’s GitHub Actions configuration to use shared workflows/actions from dapr/.github, reducing duplicated workflow logic maintained in this repo.

Changes:

  • Replaced in-repo automerge and stale-pruning jobs with reusable workflows from dapr/.github.
  • Replaced Dapr CLI/runtime setup logic in validate_examples with shared setup actions.
  • Removed the local .github/scripts/automerge.py script that is no longer referenced.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
.github/workflows/validate_examples.yaml Uses shared actions to install/setup Dapr CLI and runtime during example validation runs.
.github/workflows/dapr-bot-schedule.yml Switches automerge + stale pruning to shared reusable workflows.
.github/workflows/backport.yaml Switches backport automation to a shared reusable workflow.
.github/scripts/automerge.py Deletes the legacy automerge script now superseded by shared workflows.

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

Comment thread .github/workflows/dapr-bot-schedule.yml Resolved
Comment thread .github/workflows/dapr-bot-schedule.yml Resolved
Comment thread .github/workflows/backport.yaml Resolved
Comment thread .github/workflows/backport.yaml Resolved
@sicoyle
sicoyle added this pull request to the merge queue Apr 21, 2026
Merged via the queue into dapr:main with commit dc44685 Apr 21, 2026
14 of 15 checks passed
@acroca
acroca deleted the shared-workflows branch April 21, 2026 14:30
@sicoyle sicoyle added this to the v1.18 milestone May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants