GitHub Actions removals · checked

macos-12 runner removed on 3 Dec 2024: what to use instead

macOS 12 runner image: removed 3 Dec 2024, 715 days ago. Jobs that ask for macos-12 are terminated with an error: the image is gone. The fix: Change runs-on to macos-15. Find every place your workflows use it: npx --allow-remote=root https://agentwares.vercel.app/dl/actions-eol-0.2.0.tgz

$ npx --allow-remote=root https://agentwares.vercel.app/dl/actions-eol-0.2.0.tgz

npx --allow-remote=root https://agentwares.vercel.app/dl/actions-eol-0.2.0.tgz reads .github/workflows in the current directory (or owner/repo through GitHub's API with your own token) and lists every runner label, action version, runtime, workflow command and trigger a dated GitHub removal hits, with the file, the line and the fix. No account; nothing about your workflows is sent to us. Its requests fetch this data and the public action.yml of the actions you use. Free and MIT licensed.

The facts

What
macOS 12 runner image
Matches
Runner labels macos-12, in runs-on or a matrix
Effect
Breaks a job
Announced
1 October 2024
In effect since
3 Dec 2024removed 3 Dec 2024, 715 days ago
After the date
Jobs that ask for macos-12 are terminated with an error: the image is gone.
The fix
Change runs-on to macos-15.
Replace
macos-12 → macos-15

Check by hand

From the repository root; the command above also reads matrices, inputs to reusable workflows and each action's own action.yml, which a grep cannot.

$ grep -rnE "macos-12" .github/workflows

In CI, before the next date

The same check as a GitHub Action. It annotates each workflow line it finds: a warning 60 days ahead, an error 14 days before a brownout or removal (or once it is in effect), and the job fails on an error. Warning-only findings never fail it. The weekly run turns the check red as a date comes closer, even when nothing changed.

# .github/workflows/actions-eol.yml
on:
  pull_request:
    paths: [".github/**", "action.yml", "action.yaml"]
  schedule:
    - cron: "17 7 * * 1"
permissions:
  contents: read
jobs:
  actions-eol:
    runs-on: ubuntu-24.04
    steps:
      - uses: actions/checkout@v5
      - uses: agentwares/actions-eol@main
        with:
          warn-days: 60
          fail-days: 14

Sources

An email before each brownout, for the repos you watch, is not built.

It would re-read your workflows every day and email you a week and a day before each brownout or removal that would hit them, with no change to your repo. agentcheck's free hourly watch covers MCP servers only today. If you would pay for this one, say so with one click. The click is counted, and nothing else is sent or stored unless you then leave an email.

Other GitHub Actions removals

Every removal, by date

actions-eol is a free tool from agentcheck, which runs scheduled checks of your endpoints and alerts you when an answer changes. Dates come from GitHub's own pages, read on the day shown; github.com only, since GitHub Enterprise Server keeps its own schedule.