Sync GitHub tags to Lookup Table daily

Recipe ToolsMarketingDeveloper Tool

What it does

When the clock triggers at midnight each day, this automation lists repository tags in GitHub and compares them to the Lookup Table. It updates the table when a new tag is found so the latest version is always current.

Who it's for

Engineering teams who need to track GitHub repository tags in a centralized lookup without manual updates.

How teams use this

Keep deployment templates current

Run this automation daily so the lookup table always reflects the latest GitHub tag. Teams pull from the lookup table when they deploy, so they get the newest version without checking GitHub manually.

Alert teams when tags change

Extend this automation to send a Slack message when the tag updates so the team knows a new version is available. Add a Slack step after the lookup table update to notify the channel.

Monitor multiple GitHub repositories

Retarget this automation to track other GitHub repositories by changing which repo is queried and which lookup table entry is updated. The schedule and comparison logic remain the same.

How it works

  1. Trigger daily at midnight. This automation runs every day at 12:00 AM to check for new repository tags in GitHub.
  2. List repository tags in GitHub. Retrieve the latest tags from the GitHub repository so the newest version can be compared against what is stored in the lookup table.
  3. Look up the stored tag name. Search the Cloud templates lookup table for the current tag entry to see what version is already recorded.
  4. Update the lookup table entry. When the GitHub tag does not match the stored name, update the Cloud templates lookup table with the new tag so it stays in sync.