Running HashiCorp’s Terraform MCP Server in GitHub Actions

Run HashiCorp Terraform MCP Server seamlessly in GitHub Actions to ensure accurate provider schemas and smoother automation. Learn how in this guide today.

Docker MCP Toolkit: Hassle-Free Local Agentic AI with MCP Servers

Unlock hassle-free local agentic AI with Docker MCP Toolkit. Simplify MCP server setup and increase productivity today. Discover how in our latest guide.

Boost GitHub Actions Efficiency with Path Filters: Only run when specific files or paths are updated

Within your GitHub Actions, you may be running a lot of workflows continuously during a merge to the main branch – a way to mitigate the possibility of them always running is to implement path filters. What are path filters? Path filters in GitHub Actions allow you specify when the workflow/action runs essentially, it helps … Read more

Deploying MkDocs to GitHub Pages with GitHub Actions

Screenshot showing an example of MkDocs

In this blog post, I will show how you can deploy your MkDocs to GitHub Pages with GitHub Actions. What is MKDocs? MKDocs is a great little tool for creating a static site, used commonly to store repository documentation, drawings, some examples etc! MkDocs is a fast, simple and downright gorgeous static site generator that’s geared towards building project documentation. … Read more

Using Terraform tfvars for environment-agnostic deployments

Screenshot of Visual Studio Code displaying the folder structure for a Terraform project. The folder tree includes directories for different environments such as 'production' and 'staging', and files like 'main.tf', 'variables.tf', and environment-specific '.tfvars' files. Each environment folder contains its own '.tfvars' file to manage configuration variables, illustrating how Terraform configurations are organised and separated by environment

In this blog post we will look at how you would use tfvars to deploy to multiple environments in Azure. Deploying Infrastructure as Code (IaC) to multiple environments, we want to keep scalability in mind along with the thought of removing duplication when possible. Managing infrastructure configurations across different environments can be challenging, this is … Read more

Update GitHub Pull Request Body using GitHub Actions

Screenshot of GitHub Actions output displaying a workflow that updates the body of a pull request. The console log shows steps including checking out the repository, executing a script or action to modify the pull request body, and a confirmation message indicating that the pull request description was successfully updated as part of the automated workflow.

Recently I have been automating GitHub Pull Request Body with various updates/outputs from GitHub Actions, I wanted to create a quick blog post on a couple of ways to do this that will hopefully assist you. If you’re like me, you’ve probably found yourself in situations where you need to update the body of a … Read more

Enabling PostgreSQL flexible server logs and configuring a retention period using Terraform

Screenshot of a Terraform configuration for an Azure PostgreSQL Flexible Server, highlighting the settings for server logs. The image shows the Terraform script with logging configurations enabled and the retention_period parameter set. The configuration specifies that server logging is active and defines the duration for which logs are retained.

In this blog post, we will look at enabling PostgreSQL flexible server logs and setting a retention period using Terraform. (Somewhat a new feature (was in Preview), the ability to enable server logs.) Deploying a sample server below, we can see within “Server Logs” that it currently isn’t enabled by default. Reviewing the linked learn.microsoft.com … Read more

Ensuring Your Terraform is Correctly Formatted with Terraform fmt using GitHub Actions

Screenshot of a GitHub Actions workflow log showing the execution of the terraform fmt command. Showing how Terraform code is being automatically formatted, with specific lines indicating changes made to the code to adhere to formatting standards.

As with all pull requests, we want to run various CI checks to ensure validation of your code and one of these is code quality, writing Terraform? Unsure if the Terraform in the pull-request is formatted correctly? This is where GitHub Actions come in handy. In this post, we’ll explore how to ensure your Terraform code … Read more

GitHub Action error Resource not accessible by integration when attempting to upload SARIF report files to GitHub

Screenshot showing the workflow permissions settings in GitHub Actions, with a highlight on the need to enable both read and write permissions. The image focuses on the configuration options for granting these permissions, indicating their necessity for proper workflow execution and functionality.

Just a very quick blog post to show a potential fix for GitHub Action error Resource not accessible by integration when attempting to upload SARIF report files to GitHub, I came across this when attempting to use GitHub action github/codeql-action/upload-sarif@v3 GitHub Action usage Was trying to upload a SARIF report from kube-linter with the simple … Read more

Adding pull-request comments to Azure DevOps Repo from Azure DevOps Pipelines

Screenshot showing a comment added in Azure DevOps by the pipeline. The comment, generated automatically by the pipeline process

Sometimes as part of your pull request process, you may want to include outputs, checks, or other relevant information as comments after your pipeline runs on various stages and tasks. In this blog post we will look and how this can be achieved using a bash task and Azure DevOps API Prerequisites I will be … Read more