Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependabot/output doesnot seem to appear#539 #574

Merged
merged 7 commits into from
Feb 8, 2024
Merged

Dependabot/output doesnot seem to appear#539 #574

merged 7 commits into from
Feb 8, 2024

Conversation

PhanindraNeralla
Copy link
Contributor

@PhanindraNeralla PhanindraNeralla commented Feb 8, 2024

Fix: Add Merge status in Auto-merge scenario

Checklist

src/action.js Outdated
@@ -138,6 +137,7 @@ ${changedExcludedPackages.join(', ')}. Skipping.`)

if (USE_GITHUB_AUTO_MERGE) {
await client.enableAutoMergePullRequest(pr.node_id, MERGE_METHOD)
core.setOutput(MERGE_STATUS_KEY, MERGE_STATUS.merged)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure this status is right. Automerge means that GitHub may eventually auto merge this, but not that this has already been merged. Maybe we need a new status?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added new merge_status: "auto_merge".

@PhanindraNeralla PhanindraNeralla marked this pull request as ready for review February 8, 2024 11:04
@simoneb simoneb merged commit e028a0c into fastify:merge-status-output Feb 8, 2024
1 check passed
simoneb added a commit that referenced this pull request Feb 9, 2024
* fix: merge status output not working

* Dependabot/output doesnot seem to appear#539 (#574)

* Fixes dependabot/output-doesnot-seem-to-appear#539

* #539 adding random merge status key to verify

* #539 adding random merge status keys

* #539 removed log messages. Added workflow id to workflow

* #539 added workflow id to action yaml

* #539 removed unneeded changes in action yaml file

* fix #539 added new merge status for auto merge

* #539 added testcase for auto merge (#576)

* chore: rename main to approver in workflow

---------

Co-authored-by: Phanindra Neralla <158252118+PhanindraNeralla@users.noreply.github.com>
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.

2 participants