Skip to content

Migrating From GitHub Actions

nanos edited this page May 3, 2025 · 7 revisions

In April 2025 GitHub removed a dependency that is needed to run FediFetcher as GitHub Action. You can find more information in this comment on Issue #198

Important

If you are currently running FediFetcher as GitHub Action, you will need to run FediFetcher using another mechanism going forward. You should have until 20th June 2025 to do so. If you don't migrate FediFetcher, it will likely cease working on or shortly after that date.

This document outlines the basic steps needed to migrate FediFetcher:

1. Get your configuration script

You will need to grab a copy of your configuration options. You should find this in the config.json file in the root of your fork of FediFetcher. In order to download the file, click on it in the main repository view, then click the Download icon in the top menu bar as seen below:

Download icon

2. Disable the existing GitHub Action

You will need to disable the GitHub Action. In order to do so, return to your own fork of FediFetcher.

  1. Click on the 'Actions' tab.
  2. Find the 'getAllRepliesToKnownPosts' workflow in the left column.
  3. Click the three dots at the top right.
  4. Choose 'Disable Workflow'

Disable Workflow

3. Get a new Access Token

You will need to be able to reset your Access Token. Please refer to Get an Access Token to find out how.

You will want to add the Access Token to the config.json file that you downloaded in step 1.

In order to do that, open up the file in your favourite editor, and add it on it's own line like so: "access-token": "Your access token",. The final file should look something like this:

{
  "access-token": "Your access token",
  "server": "your.mastodon.server",
  // your other settings below
}

Please refer to FediFetcher configuration options for all configuration options

4. Download your artifacts (optional, but recommended)

Your artifacts contain all the data about previous runs of FediFetcher. If you migrate your FediFetcher from GitHub Actions without downloading these FediFetcher will not know whihch posts, accounts, and servers it has seen and processed in the past, and re-process everything from scratch, wasting a lot of resources.

To prevent this you can download your artifacts from your last GitHub Actions run. To do so, firstly return back to your FediFetcher fork on GitHub, then:

  1. Click the 'Actions' tab
  2. Find the 'getAllRepliesToKnownPosts' workflow in the left column.
  3. Open up the latest workflow run alt text
  4. Scroll down, and under 'Artifacts' click the download button. alt text

Extract the downloaded zip file, and copy all the individual files from it into the artifacts directory of your new FediFetcher install.

5. Decide how you wish to run FediFetcher going forward

You should pick from one of the following options. Each individual guide will tell you where to store your config.json file that you downloaded earlier:

Questions?

Please feel free to open an Issue on GitHub.

Clone this wiki locally