Build5Nines - GitHub Actions: Schedules, Run on Specific Branch, Commit back to Repo, Certifications and more!

Your trusted source for Cloud, DevOps, and SRE guidance with Chris Pietschmann!

Sponsor: Are you interested in sponsoring the Build5Nines Newsletter? Contact us for opportunities.

Running jobs on specific branches with GitHub Actions is a common scenario implemented by DevOps and SRE professionals. This allows you to control which branches trigger specific jobs within your workflows. This can be important for maintaining efficient CI/CD processes, especially if you want tests to run on every branch while restricting deployment actions to only the main branch. This article explains how to configure several different methods of running GitHub Actions workflow jobs on specific branches in the repo.

How to get the current branch name in GitHub Actions can be useful for workflows that trigger off of multiple branches of a GitHub repository. The reason this can be useful is that the branch name may be important to mark or tag the code release in some way (i.e. tag a docker image), or maybe even vary the deployment of the code by environment. Regardless of the reason you need to get the name of the current Git repo branch, just rest assured that GitHub Actions does support retrieving it. This article explains the what is necessary to get the current Git repo branch name within a workflow.

A few times I’ve found the need to setup a GitHub Actions workflow that downloads a file and commits that file back to the repository. I had a need to pull in a JSON file and update it periodically to a GitHub repository. There are other scenarios where this may be needed. This article will show you the steps necessary to setup your own GitHub Actions workflow that does the same.

There are many times when scheduled triggers are very useful when configuring GitHub Actions workflows. Luckily, GitHub Actions supports the ability to configure scheduled triggers that includes support for using cron expressions to define the schedule timing. In this article, we’ll look at configuring scheduled triggers on GitHub Actions workflows and a few tips on writing cron expressions.

Keeping up with GitHub requires lots of skill mastery. GitHub is a platform used by over 100 million developers worldwide and offers a suite of certifications designed to elevate your development prowess and demonstrate your mastery of its powerful tools. Whether you’re a software developer, DevOps EngineerSRE, security specialist, or IT professional, GitHub’s certifications cater to a diverse range of roles and skill levels.

Older messages

Build5Nines - What IaC do you use? 🤔 - Terraform IP Functions, Lookup function, work with YAML, automate install on Windows, and more!

Tuesday, June 4, 2024

Blog | Advertise | View Online Build5Nines - Cloud, DevOps & SRE Guidance Your trusted source for Cloud, DevOps, and SRE guidance with Chris Pietschmann! Sponsor: Are you interested in sponsoring

Build5Nines - 🌟 MS Build, 🤖 Copilot Architecture, LLM & AI Security Principles for Zero Trust

Monday, June 3, 2024

Blog | Advertise | View Online Build5Nines - Cloud, DevOps & SRE Guidance Your trusted source for Cloud, DevOps, and SRE guidance with Chris Pietschmann! Sponsor: Are you interested in sponsoring

Build5Nines - Local Generative AI, GitHub Copilot Chat, Azure Copilot

Wednesday, May 8, 2024

View this email in your browser Build5Nines - Cloud, DevOps & SRE Guidance Build5Nines Newsletter Your trusted source for Cloud, DevOps, and SRE guidance with Chris Pietschmann! Thank you for

Build5Nines Newsletter - April 25, 2024

Friday, April 26, 2024

View this email in your browser Build5Nines Build5Nines Newsletter Thank you for subscribing! I look forward to sharing with you the latest cloud news, technical help, and other thoughts around DevOps

Build5Nines Newsletter - April 25, 2024

Thursday, April 25, 2024

View this email in your browser Build5Nines Build5Nines Newsletter Thank you for subscribing! I look forward to sharing with you the latest cloud news, technical help, and other thoughts around DevOps

You Might Also Like

🛠️ It's Easy to Mod PC Games — What to Know About Cellular Data Throttling

Saturday, June 22, 2024

Also: Best Short Throw Projectors of 2024, and More! How-To Geek Logo June 22, 2024 📩 Get expert reviews, the hottest deals, how-to's, and more delivered directly to your inbox by subscribing to

Daily Coding Problem: Problem #1474 [Easy]

Saturday, June 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Boggle is a game played on a 4 x 4 grid of letters. The goal is to find as

Weekend Reading — Occam's shaving kit

Saturday, June 22, 2024

This week we work around our ErrorBoundary, ignore our \\TODO, write in Sans Bullshit Sans, pay $500/hour to dress the same as always, count succors borne every minute, and name a dinosaur after Loki.

Infographic | The Next Characters to Enter the Public Domain 🎟️

Saturday, June 22, 2024

From Mickey to Superman, this infographic shows which popular characters will be entering the public domain over the next 15 years. View Online | Subscribe Presented by: EnergyX's groundbreaking

Web3 hiring culture. What can we improve?

Saturday, June 22, 2024

Top Tech Content sent at Noon! Meet the device ushering in a new era of hearing clarity Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, June 22, 2024

Web3 hiring culture. What can we improve?

Saturday, June 22, 2024

Top Tech Content sent at Noon! Meet the device ushering in a new era of hearing clarity Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, June 22, 2024

Ilya Sutskever isn’t done working on AI safety

Saturday, June 22, 2024

Plus, Fisker files for bankruptcy, the DOJ sues Adobe, and more View this email online in your browser By Cody Corrall Saturday, June 22, 2024 Image Credits: Hiretual Welcome back to TechCrunch's

🐍 New Python tutorials on Real Python

Saturday, June 22, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Quiz: Ruff: A Modern Python Linter In this

DeveloPassion's Newsletter #170 - Safe and Sound

Saturday, June 22, 2024

Edition 170 of my newsletter, discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's

U.S. Treasury Sanctions 12 Kaspersky Executives Amid Software Ban

Saturday, June 22, 2024

THN Daily Updates Newsletter cover Cybersecurity Architect's Handbook ($47.99 Value) FREE for a Limited Time Stepping into the role of a Cybersecurity Architect (CSA) is no mean feat, as it