Dynamic Matrices in GitHub Actions

Learn how to set up dynamic matrices in GitHub Actions to run jobs multiple times based on specific criteria

Adding comments to your GitHub Pull Requests using GitHub Actions

Screenshot showing GitHub Action adding a comment to a pull request

When managing a GitHub Pull Request (PR) workflow, numerous continuous integration (CI) checks typically run to ensure code quality, functionality, and compliance with project standards. Keeping track of these checks and providing timely, consistent feedback to contributors can be challenging. In this blog post, I’ll show how to enhance your PR process by adding automated … Read more

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

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

Scaling Terraform Deployments with GitHub Actions: Essential Configurations

DevOps logo for the 90 Days of DevOps challenge, displaying the submission details for day 78 in 2024. The image features the DevOps logo alongside text indicating the submission topic: 'Scaling Terraform Deployments with GitHub Actions.' The visual represents progress in the DevOps learning challenge.

Scaling Terraform Deployments with GitHub Actions: Essential Configurations, is part of the 90 Days of DevOps event that Michael Cade has been running, certainly check out the event for lots more awesome DevOps related contributions here What have I covered in this session? My session is a presentation & demo – that covers essential configurations … 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

Enforcing Kubernetes best practices and simplifying Kubernetes Configuration Validation with Kube-Linter and GitHub Actions

creenshot showing the output of Kube-linter within GitHub Code Scanning, displaying 7 issues identified by Kube-linter. The image highlights the list of opened issues, each detailing specific problems detected in the Kubernetes configurations, providing a clear overview of areas needing attention

Kubernetes is ever growing and certainly a standard for container orchestration, however with it being picked up more and more by development teams, we want to ensure best practices and correctness of Kubernetes configuration files are valid. This can be tough and challenging to manage, let’s look at a tool that can assist you in … Read more

Resolving steps.plan.outputs.* returns Empty Issue with hashicorp/setup-terraform@v3

A quick blog post to include the fix/what is needed to resolve steps.plan.outputs.* is empty when using GitHub Action hashicorp/setup-terraform@v3 I recently came across a situation while working with the hashicorp/setup-terraform@v3 GitHub Action. I wanted to make use of steps.plan.outputs.stdout to display the Terraform Plan, but I noticed that the output was consistently empty. Even … Read more

Displaying Terraform Plans in GitHub PRs with GitHub Actions

Screenshot of a GitHub pull request comment displaying a series of successful Terraform-related tasks. The comment includes detailed output from a Terraform Plan, indicating that various Terraform operations, such as formatting and validation, have completed successfully, along with a summary of the planned infrastructure changes

In this blog post, I’ll show you a cool trick – how to share your Terraform Plan right in the comments of your GitHub Pull Request using GitHub Actions. This comes with some handy benefits for your workflow: How to achieve this As part of my Action workflow, I have used a step that is … Read more