Skip to content

Dependabot/output doesnot seem to appear#539#574

Merged
simoneb merged 7 commits intofastify:merge-status-outputfrom
PhanindraNeralla:dependabot/output-doesnot-seem-to-appear#539
Feb 8, 2024
Merged

Dependabot/output doesnot seem to appear#539#574
simoneb merged 7 commits intofastify:merge-status-outputfrom
PhanindraNeralla:dependabot/output-doesnot-seem-to-appear#539

Conversation

@PhanindraNeralla
Copy link
Copy Markdown
Contributor

@PhanindraNeralla PhanindraNeralla commented Feb 8, 2024

Fix: Add Merge status in Auto-merge scenario

Checklist

Comment thread src/action.js Outdated

if (USE_GITHUB_AUTO_MERGE) {
await client.enableAutoMergePullRequest(pr.node_id, MERGE_METHOD)
core.setOutput(MERGE_STATUS_KEY, MERGE_STATUS.merged)
Copy link
Copy Markdown
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
Copy Markdown
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
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 <[email protected]>
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