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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your