Address error of clone when reusing workflow #85

Closed
opened 2023-03-28 02:42:57 +00:00 by c332030 · 4 comments

action config


name: mirror

on: [push, pull_request]

jobs:
  mirror:
    uses: user/git/.github/workflows/mirror.yml@master
    secrets:
      SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

log

gitea.com(version:0.0.1+38-gc9e076d) received task 1 of job 1, be triggered by event: push
workflow prepared
evaluating expression 'success()'
expression 'success()' evaluated to 'true'
  

  git clone 'https://https://gitea.com//user/git' # ref=master
  cloning https://https://gitea.com//user/git to /home/.cache/act/user-git-.github-workflows-mirror.yml@master
Unable to clone https://https://gitea.com//user/git refs/heads/master: Get "https://https//gitea.com//user/git/info/refs?service=git-upload-pack": remote error: tls: handshake failure
Get "https://https//gitea.com//user/git/info/refs?service=git-upload-pack": remote error: tls: handshake failure

It should be git clone 'https:/gitea.com/user/git' # ref=master,duplicate https://

action config ``` name: mirror on: [push, pull_request] jobs: mirror: uses: user/git/.github/workflows/mirror.yml@master secrets: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} ``` log ``` gitea.com(version:0.0.1+38-gc9e076d) received task 1 of job 1, be triggered by event: push workflow prepared evaluating expression 'success()' expression 'success()' evaluated to 'true' git clone 'https://https://gitea.com//user/git' # ref=master cloning https://https://gitea.com//user/git to /home/.cache/act/user-git-.github-workflows-mirror.yml@master Unable to clone https://https://gitea.com//user/git refs/heads/master: Get "https://https//gitea.com//user/git/info/refs?service=git-upload-pack": remote error: tls: handshake failure Get "https://https//gitea.com//user/git/info/refs?service=git-upload-pack": remote error: tls: handshake failure ``` It should be git clone 'https:/gitea.com/user/git' # ref=master,duplicate https://
c332030 changed title from 复用工作流程时 clone 的地址错误 to Address error of clone when reusing workflow 2023-03-28 02:44:38 +00:00
Member

This is a bug. I'm working on it and the bug should be fixed after gitea/act#34 merged

This is a bug. I'm working on it and the bug should be fixed after https://gitea.com/gitea/act/pulls/34 merged
Author

This is a bug. I'm working on it and the bug should be fixed after gitea/act#34 merged

Thank you!

> This is a bug. I'm working on it and the bug should be fixed after https://gitea.com/gitea/act/pulls/34 merged Thank you!

Good afternoon. Help me to understand. Exact same problem as above on self-hosted machine. I update version Gitea and act_runner, but get same problem.

Action:

name: Build image processing API and push on ECR

on: [push]

jobs:
  build-and-test:
    uses: ORG_NAME/PROJECT/.github/workflows/api-single-module-workflow.yml@main

Action log:

runner-01(version:0.0.1+42-g7e7096e) received task 14 of job 8, be triggered by event: push

workflow prepared

evaluating expression 'success()'

expression 'success()' evaluated to 'true'

  ☁  git clone 'https://https://gitea.xxx.com/ORG_NAME/PROJECT' # ref=main

  cloning https://https://gitea.xxx.com/ORG_NAME/PROJECT to /root/.cache/act/ORG_NAME-PROJECT-.github-workflows-api-single-module-workflow.yml@main

Unable to clone https://https://gitea.xxx.com/ORG_NAME/PROJECT refs/heads/main: Get "https://https//gitea.xxx.com/ORG_NAME/PROJECT/info/refs?service=git-upload-pack": dial tcp: lookup https on 127.0.0.53:53: server misbehaving


Get "https://https//gitea.xxx.com/ORG_NAME/PROJECT/info/refs?service=git-upload-pack": dial tcp: lookup https on 127.0.0.53:53: server misbehaving

Version Gitea - 1.20.0+dev-335-g977ef215f built with GNU Make 4.3, go1.20.2 : bindata, timetzdata, sqlite, sqlite_unlock_notify

Good afternoon. Help me to understand. Exact same problem as above on self-hosted machine. I update version Gitea and act_runner, but get same problem. Action: ``` name: Build image processing API and push on ECR on: [push] jobs: build-and-test: uses: ORG_NAME/PROJECT/.github/workflows/api-single-module-workflow.yml@main ``` Action log: ``` runner-01(version:0.0.1+42-g7e7096e) received task 14 of job 8, be triggered by event: push workflow prepared evaluating expression 'success()' expression 'success()' evaluated to 'true' ☁ git clone 'https://https://gitea.xxx.com/ORG_NAME/PROJECT' # ref=main cloning https://https://gitea.xxx.com/ORG_NAME/PROJECT to /root/.cache/act/ORG_NAME-PROJECT-.github-workflows-api-single-module-workflow.yml@main Unable to clone https://https://gitea.xxx.com/ORG_NAME/PROJECT refs/heads/main: Get "https://https//gitea.xxx.com/ORG_NAME/PROJECT/info/refs?service=git-upload-pack": dial tcp: lookup https on 127.0.0.53:53: server misbehaving Get "https://https//gitea.xxx.com/ORG_NAME/PROJECT/info/refs?service=git-upload-pack": dial tcp: lookup https on 127.0.0.53:53: server misbehaving ``` Version Gitea - `1.20.0+dev-335-g977ef215f built with GNU Make 4.3, go1.20.2 : bindata, timetzdata, sqlite, sqlite_unlock_notify`
Member

Hi @WooDeNDark , this bug has been fixed in gitea/act#34 . And it will be fixed in act_runner after the act dependency is upgraded to the latest version.

Hi @WooDeNDark , this bug has been fixed in https://gitea.com/gitea/act/pulls/34 . And it will be fixed in `act_runner` after the [`act` dependency](https://gitea.com/gitea/act_runner/src/commit/7e7096e60b34cba3081ac4603c1e19dbc8d2d4a8/go.mod#L105) is upgraded to the latest version.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
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: gitea/act_runner#85
No description provided.