Github Action in Gitlab

Issue: Unable to run GitHub Actions from within GitLab CI

Environment

  • GitLab Version: Community Edition v18.0.2
  • GitLab Runner: 18.0.0 (d7f2cea7)
  • Step Runner Version: 14210af5
  • Executor: Kubernetes
  • Image: registry.gitlab.com/gitlab-org/step-runner:v0

Problem Description

Experiencing issues when attempting to run simple GitHub Actions from within GitLab CI pipeline.

Current CI Configuration

my-job:
  image: registry.gitlab.com/gitlab-org/step-runner:v0
  run:
    - name: test_echo
      action: helloworld-javascript-action@v1

Error Message

Error: failed to run steps: step "test_echo": step "write_env_to_file": failed to load: expand input "script": the " step_dir }/bin/action_env >${{ job.CI_PROJECT_DIR }}/.env-file" is not closed: ${{ ... }}
Edited by 🤖 GitLab Bot 🤖