Shane Bartholomeusz

Geek and lover of all things tech related

Tag: GitHub

Solved: GitHub Actions – HTTP 403: Resource not accessible by integration

Problem

Recently, whilst trying to run the following command in a GitHub Actions workflow script to create a new Release in my GitHub Repository:

gh release create XXXX --generate-notes

However, strangely I encountered the following workflow error:

HTTP 403: Resource not accessible by integration

If you’ve faced the same error, then you’re in luck – because I’ll be sharing the solution that worked for me to resolve this issue.

Continue reading

How to: Use GitHub Actions with OIDC to Authenticate with Azure

Overview

Deploying resources to the cloud through deployment pipelines requires the need to authenticate with the various cloud providers in a standardised and secure manner. GitHub Actions offers the ability to authenticate with Azure using OpenID Connect (OIDC).

In this post, I’ll guide you through the process of setting up OpenID Connect (OIDC) authentication with Azure and GitHub Actions.

GitHub Actions Logo
Continue reading

How To: Handle Line Endings with Git

Overview

Git is an incredibly powerful version control system with a myriad of features and capabilities, including the ability to work across various OS platforms, including Windows and Unix.

I recently started working on a project along with several other developers using various operating system platforms. We came across an issue relating to the handling of LF / CRLF line ending characters between the various operating system platforms.

In this article we’ll take a look at how to deal with line ending characters in git.

GitHub Icon
Continue reading

How to: Deploy Azure Functions Using Github Actions

Overview

GitHub has really opened the doors for collaboration across the wider software development community. If you are already using GitHub then it makes sense to make the most of the GitHub ecosystem and use of all of it’s available features, including GitHub Actions; a powerful workflow engine that enables developers to automate repetitive tasks.

In this post I’ll show you how you can deploy an Azure Function using a GitHub Actions workflows, and by the end of this guide, you’ll have a fully working automated deployment pipeline setup.

Please note that this guide assumes that you are already familiar with using Azure Functions and using GitHub for basic source control management.

Banner image
Continue reading

How To: Clone GIT Repo Using Personal Access Token

Overview

In this post I’ll show you how you can clone a Git repository using a Personal Access Token instead of a regular password.

Personal Access Tokens are useful in a variety of situations. I recently opted to use an access token on a work laptop rather than using my ‘god mode’ credentials. That way, if I needed to hand the laptop back to my employer I could easily revoke the access.

Enough talk … lets get to it!

GitHub Icon
Continue reading

© 2024 Shane Bartholomeusz

Theme by Anders NorenUp ↑