GitHub Actions removals · checked

set-env and add-path disabled since 16 Nov 2020: the fix

set-env and add-path workflow commands: disabled 16 Nov 2020, 2199 days ago. A step that prints ::set-env or ::add-path fails, unless ACTIONS_ALLOW_UNSECURE_COMMANDS is set to true, which reopens the injection hole the commands were removed for (CVE-2020-15228). The fix: Write echo "NAME=value" >> "$GITHUB_ENV" and echo "/some/dir" >> "$GITHUB_PATH". 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
set-env and add-path workflow commands
Matches
Steps that print ::set-env, ::add-path
Effect
Breaks a job
Announced
1 October 2020
Deprecated from
1 October 2020
In effect since
16 Nov 2020disabled 16 Nov 2020, 2199 days ago
After the date
A step that prints ::set-env or ::add-path fails, unless ACTIONS_ALLOW_UNSECURE_COMMANDS is set to true, which reopens the injection hole the commands were removed for (CVE-2020-15228).
The fix
Write echo "NAME=value" >> "$GITHUB_ENV" and echo "/some/dir" >> "$GITHUB_PATH".

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 "::(set-env|add-path)" .github

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.