Gitlab pipeline for macos is stuck for

Gitlab macos pipeline is in stuck state for macos runner.
I have a merge request for a test branch and I wanna run the test, build stage for my ios app via fastlane. However, the pipeline is in a stuck state with the following message

This job is stuck because of one of the following problems. There are no active runners online, no runners for the protected branch, or no runners that match all of the job's tags: saas-macos-medium-m1

My .gitlab-ci.yml looks like this

.macos_saas_runners:
  tags:
    - saas-macos-medium-m1
  image: macos-12-xcode-14
  before_script:
    - echo "started by ${GITLAB_USER_NAME}"

stages:
  - unit_tests
  - test_flight

variables:
  LC_ALL: "en_US.UTF-8"
  LANG: "en_US.UTF-8"
  HOMEBREW_NO_AUTO_UPDATE: 1

before_script:
  - gem install bundler
  - bundle install

unit_tests:
  extends:
      - .macos_saas_runners
  dependencies: []
  stage: unit_tests
  artifacts:
    paths:
      - fastlane/screenshots
      - fastlane/logs
  script:
    - fastlane tests

test_flight_build:
  extends:
      - .macos_saas_runners
  dependencies: []
  stage: test_flight
  artifacts:
    paths:
      - fastlane/screenshots
      - fastlane/logs
  script:
    - fastlane beta
  only:
     - /^release-.*$/
     - main

I’ve already checked the list of runners and I see 2 of them online.

and yes I have the shared runners enabled for this project. I am on a free tier but I should be able to use these runners. I even used the official super simple example here.

Is anyone else having this same issue?

SaaS runners on macOS are currently in Beta, meaning they’re only available to customers with a Premium or Ultimate plan and open source program members.

If you’re on a Free plan, you’ll need to wait until macOS SaaS runners are generally available before you can use them in your CI/CD pipelines.

1 Like