DevOps and ALM with Power Platform Actions for GitHub

Power Platform Actions for GitHub are a powerful way to implement DevOps and ALM strategies in your Power Platform deployments. In this post, we will take a look at these GitHub actions, and go through how we can use them in a real-world situation, by connecting to a Power Platform model-driven app and deploy the code from one environment to another. The Power Platform Actions for GitHub can be found in … Continue reading DevOps and ALM with Power Platform Actions for GitHub

Customizing Your Super-Linter and ESLint JavaScript Rules

Super-Linter is a linter built by the GitHub team to provide linting for your GitHub projects. In a previous post, we looked at how to set up and use Super-Linter. In this post, we will look at how to customize the rules. We will continue on from the previous example. Specifically, we will look at a case where if we are lining JavaScript files, in which case Super-Linter uses ESLint, … Continue reading Customizing Your Super-Linter and ESLint JavaScript Rules

Using Super-Linter in a GitHub Repo to Improve Your Code Quality

In this post, we will look at how to super-linter in a GitHub repository so your code quality can be improved. The GitHub DevOps Engineering Team built super-linter to help with their own best practices. You can see the GitHub repo for super-linter here. The linter is a “Combination of multiple linters to install as a GitHub Action”. So when you use GitHub as a source code repository, you can add … Continue reading Using Super-Linter in a GitHub Repo to Improve Your Code Quality

Using EasyRepro for Automated UI Testing in Dynamics 365 Power Apps

EasyRepro is an automated UI testing API from Microsoft tool to test Dynamics 365 Power Apps. This is useful if you are performing repeated UI tests and would like to automate these. To use EasyRepro, go to the GitHub repository https://github.com/microsoft/EasyRepro and download or clone the code: I will download it: After downloading the ZIP file, right-click -> Properties and unblock: Unzip and you should see something like below. Open … Continue reading Using EasyRepro for Automated UI Testing in Dynamics 365 Power Apps

How Patching of Solutions Works in the Power Platform

In the Microsoft Power Platform, there is a concept of patching solutions. Patches are useful when you want to deploy code from one environment to another. With patches, you would have already released a solution from one environment to another, and then be in a situation where you need to deploy a fix or enhancement to that solution. Instead of updating the original solution and deploying that full solution again, … Continue reading How Patching of Solutions Works in the Power Platform

Setting the Language of a Visual Studio Code File without Saving

Ever use Visual Studio Code and want to set the language of a file without having to save it? Let’s say we have copied some code from somewhere, or we are creating a new file from scratch. Below I have some JavaScript in a file, and the code is all the same color, i.e. VS Code has not recognized this file as JavaScript: To change the language of the file, … Continue reading Setting the Language of a Visual Studio Code File without Saving

Prevent Direct Merges to Master with Branch Protection in GitHub

In this post, we will look at branch protection and how to use it to prevent users from merging code directly to the master or main branch in GitHub. I have a GitHub repo that looks like below. Let’s go do its Settings: And select Branches. We can see there are no Branch Protection Rules. At this point, I am able to merge code directly into the Master/Main branch. Let’s … Continue reading Prevent Direct Merges to Master with Branch Protection in GitHub

The Invitations Page for a GitHub Repository Without Email Link

In this post, we will look at how to get to the GitHub invitations page for a repository if you do not have the email link. For example, let’s say you are invited to a repository. GitHub will send you an email with a link to the invitation, but let’s say you do not receive that email. GitHub does not have a clear way to access invitations through its web … Continue reading The Invitations Page for a GitHub Repository Without Email Link

Wrong User When Pushing To GitHub from Visual Studio Code

In this post, we will look at what happens when you are trying to push from Visual Studio Code to a GitHub repo and the wrong user is being passed, thereby giving you the error that you do not have permission to post to this repository. The remote branch I am trying to push to is on my account carldesouzacom: And in Git in Windows, it thinks I am using … Continue reading Wrong User When Pushing To GitHub from Visual Studio Code

New GitHub Branch Not Appearing in Visual Studio Code

In this post, we will look at why a new GitHub branch is not showing up in your Visual Studio Code project. Let’s create a new branch in our GitHub project called mynewbranch: Now, pulling changes won’t get the new branch: If you Fetch, it will pull down the branch: Alternatively, from the console you can run: git fetch –all This will fetch the latest branches: Clicking on the branch … Continue reading New GitHub Branch Not Appearing in Visual Studio Code