GitHub Commit Comment Notification for Microsoft Teams - github

I'm using Microsoft Teams and GitHub and wanted to know if there is a way to show all new commit comments in a channel.
Or even if this doesn't exists if it's possible to add GitHub Runner, Webhook or Action to call something if someone adds a comment to a commit.
Best regards
PD

Yes. You could achieve this via this workflow
You can configure the workflow trigger as per your requirement as well.

Related

I can't complete a pull request in Azure DevOps

My colleague submitted a pull request on a repository. I made a recommendation on renaming a function but I clicked "Approve with recommendations". However, from here I cannot do anything. I cannot "Complete" the pull request. The Complete button remains disabled.
We made a team and we gave the team Project Contributors. WHat else do we need to do? I've used Github for years and I cannot figure out why Azure DevOps UI is so terrible.
Do you have any merge conflicts in the pull request? Make sure to resolve them first.
Also, make sure that your user is not part of any group that has a Deny-policy possible overriding your Project Contributor rights.
Lastly, check the branch policies (link) to see if anything is hindering you from completing the request.

Is there any way using azure-devops API, notify us via email if there are any changes in wiki page or If any new wiki pages created

Using Azure DevOps API, I would like to create an application with below functionality
When ever there are changes in azure devops wiki pages, it should notify us using an email
And also when ever there is new Wiki page created , it should notify us through an email.
Can somebody help on whether it is possible or not, If possible please help us with SDK and all.
I am looking for an exact API, which I need to work.
According to my test and try with the Wiki pages API and Wikis API, we seem have no such API can be used to sent email notifications when Wiki pages added or updated.
The workaround, as #jessehouwing mentioned, you can push the wiki pages as the source files of a Git repository in the project. Then you can set the email notifications for code changes in this Git repository.
You can set up a special repository for Wikis in the project.

Is there a way to get Github pull requests notifications on Microsoft teams?

I'm looking for a way to get Github pull requests notifications on Microsoft teams. I've been using the official github Slack bot, and the pull reminders (formerly pull panda) functionality for quite a while now, and I'm sorely missing these features with MS teams. Anyone would know a good SaaS and/or opensource product for this use case?
Thanks,
You might consider a GitHub Actions like Microsoft Teams (Generic)
a GitHub Actions that sends a message to a given channel in Microsoft Teams, with the most generic way.
That way, you can trigger a message on pull-request (GitHub workflow syntax)

Force code review of a team member - EGit

I have a repository in GitHub and I connected it to my eclipse git.
Now I want to share it with my friends so we can update the code together.
The problem is that every one of my friends can push anything to the remote master without supervision.
I want to force one of my team members to approve a commit before she gets pushed to the master, like code review or something.
What are my options and how can I accomplish them ?
Thanks,
ben
For my understanding, GitHub uses pull request for code review and code merge. If your friends want to push code, they should first fork your repository, push code to their forked repository and create pull request for review.

Github notifications - Mail to PR creator

If I raise a Pull request and if I need to be notified by a mail saying --
You have created a Pull request for "bla bla" on "so and so" date.
On merge - I get a notification
On comment - I get a notification
So my question is...
Are there any such settings in github which sends a mail to PR creator?
Can I tag myself in the PR comment ?
Any help !!
Are there any such settings in github which sends a mail to PR creator?
There's currently no setting in GitHub that makes the platform work in that way. Note: You can send an email to support#github.com to request for such a feature.
Can I tag myself in the PR comment ?
Yes, you can. But that won't trigger an email sent to your mailbox
However, if what you're after is keeping track of your own activity on GitHub, there may exist another alternative: GitHub exposes atoms feeds for various endpoints. The user is one of them. Register your own feed in a RSS reader and you're done.
Syntax: https://github.com/{:user}.atom
Sample: https://github.com/mojombo.atom
I'm surprised that despite being up for so long, this question hasn't really been meaningfully addressed. Axibase designed a cool little tool which can do exactly what you're describing here: if a PR is raised in one of your repositories you'll be notified via email or third-party messenger service.
By default the rule will fire when anyone raises a PR, but it can be configured to only respond to specific users as that seems to be one of your requests.
The workflow here describes the underlying mechanics of the tool and this guide will take you through the entire set-up. The whole process should only take about 10 minutes from start to finish.
Disclaimer: I've worked for the team that develops ATSD, which is the database at work here.