[GH-ISSUE #615] Issue: unable to get git repo: section "remote \"origin\"" does not exist #404

Closed
opened 2026-03-01 21:43:05 +03:00 by kerem · 1 comment
Owner

Originally created by @johannesanchez on GitHub (Apr 11, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/615

Act version

act version 0.2.21


Expected behaviour

$ sudo act -n
DRYRUN [Deploy CloudFormation Stack - Beanstalk,S3/deploy] 🚀 Start image=node:12.20.1-buster-slim
DRYRUN [Deploy CloudFormation Stack - Beanstalk,S3/deploy] 🐳 docker run image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
DRYRUN [Deploy CloudFormation Stack - Beanstalk,S3/deploy] Run Checkout
DRYRUN [Deploy CloudFormation Stack - Beanstalk,S3/deploy] Success - Checkout
DRYRUN [Deploy CloudFormation Stack - Beanstalk,S3/deploy] Run Configure AWS credentials
DRYRUN [Deploy CloudFormation Stack - Beanstalk,S3/deploy] ☁ git clone 'https://github.com/aws-actions/configure-aws-credentials' # ref=v1

Actual behaviour

$ sudo act
? Please choose the default image you want to use with act:

  • Large size image: +20GB Docker image, includes almost all tools used on GitHub Actions (IMPORTANT: currently only ubuntu-18.04 platform is available)
  • Medium size image: ~500MB, includes only necessary tools to bootstrap actions and aims to be compatible with all actions
  • Micro size image: <200MB, contains only NodeJS required to bootstrap actions, doesn't work with all actions

Default image and other options can be changed manually in ~/.actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure) Micro
WARN[0032] unable to get git repo: section "remote "origin"" does not exist
[Deploy CloudFormation Stack - Beanstalk,S3/deploy] 🚀 Start image=node:12.20.1-buster-slim
WARN[0032] unable to get git repo: section "remote "origin"" does not exist

Workflow and/or repository

workflow
name: example workflow

on: [push]

jobs:
  [...]

Steps to reproduce

  1. Install act
    curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash

  2. act in dry-run mode
    act -n

act output

Log

Originally created by @johannesanchez on GitHub (Apr 11, 2021). Original GitHub issue: https://github.com/nektos/act/issues/615 <!-- - Make sure you are able to reproduce it on the [latest version](https://github.com/nektos/act/releases) - Search the existing issues. - Refer to [README](https://github.com/nektos/act/blob/master/README.md). --> ## Act version act version 0.2.21 <!-- Paste output of `act --version` --> ```none ``` ## Expected behaviour $ sudo act -n *DRYRUN* [Deploy CloudFormation Stack - Beanstalk,S3/deploy] 🚀 Start image=node:12.20.1-buster-slim *DRYRUN* [Deploy CloudFormation Stack - Beanstalk,S3/deploy] 🐳 docker run image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] *DRYRUN* [Deploy CloudFormation Stack - Beanstalk,S3/deploy] ⭐ Run Checkout *DRYRUN* [Deploy CloudFormation Stack - Beanstalk,S3/deploy] ✅ Success - Checkout *DRYRUN* [Deploy CloudFormation Stack - Beanstalk,S3/deploy] ⭐ Run Configure AWS credentials *DRYRUN* [Deploy CloudFormation Stack - Beanstalk,S3/deploy] ☁ git clone 'https://github.com/aws-actions/configure-aws-credentials' # ref=v1 <!-- Describe how whole process should go and finish --> ## Actual behaviour $ sudo act ? Please choose the default image you want to use with act: - Large size image: +20GB Docker image, includes almost all tools used on GitHub Actions (IMPORTANT: currently only ubuntu-18.04 platform is available) - Medium size image: ~500MB, includes only necessary tools to bootstrap actions and aims to be compatible with all actions - Micro size image: <200MB, contains only NodeJS required to bootstrap actions, doesn't work with all actions Default image and other options can be changed manually in ~/.actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure) Micro WARN[0032] unable to get git repo: section "remote \"origin\"" does not exist [Deploy CloudFormation Stack - Beanstalk,S3/deploy] 🚀 Start image=node:12.20.1-buster-slim WARN[0032] unable to get git repo: section "remote \"origin\"" does not exist <!-- Describe what happened --> ## Workflow and/or repository <details> <summary>workflow</summary> ```none name: example workflow on: [push] jobs: [...] ``` </details> ## Steps to reproduce 1. Install act curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash 2. act in dry-run mode act -n <!-- Make sure to include command you used to run `act` e.g.: 1. Clone example repo (https://github.com/cplee/github-actions-demo) 2. Enter cloned repo directory 3. Run `act -s SUPER_SECRET=im-a-value` --> ## `act` output <!-- Paste output from your terminal, use `-v` or `--verbose` for richer output --> <details> <summary>Log</summary> ```none ``` </details>
kerem 2026-03-01 21:43:05 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@catthehacker commented on GitHub (Apr 11, 2021):

Hi, please correct the issue.
Missing remote is only a warning.

<!-- gh-comment-id:817244798 --> @catthehacker commented on GitHub (Apr 11, 2021): Hi, please correct the issue. Missing remote is only a warning.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#404
No description provided.