Early termination running reused workflow #618

Open
opened 2024-10-26 09:18:42 +00:00 by bustikiller · 2 comments
bustikiller commented 2024-10-26 09:18:42 +00:00 (Migrated from gitea.com)

I'm trying to configure a reusable workflow in my self-hosted gitea instance, but I am getting an error right after checking out the workflow:

self-hosted-runner(version:v0.2.11) received task 2820 of job 2655, be triggered by event: pull_request
workflow prepared
evaluating expression 'success()'
expression 'success()' evaluated to 'true'
  ☁  git clone 'https://gitea.***.com/***/actions' # ref=0.1
  cloning https://gitea.***.com/***/actions to /root/.cache/act/***-actions@0.1
Cloned https://gitea.***.com/***/actions to /root/.cache/act/***-actions@0.1
Checked out 0.1
Early termination

Definition of the reused workflow:

name: Check usage of free licenses
on:
  push:
    branches:
      - main
  pull_request:
jobs:
  license-finder:
    runs-on: ubuntu-latest
    steps:
        - uses: actions/checkout@v4
          with:
            token: ${{ secrets.GITHUB_TOKEN }}
        - uses: ruby/setup-ruby@v1
          with:
            ruby-version: '3.3'
        - name: Install license finder gem
          run: gem install license_finder
        - name: Run license finder
          run: license_finder

Usage of the workflow:

name: Check usage of free licenses
on:
  push:
    branches:
      - main
  pull_request:
jobs:
  license-finder:
    uses: https://gitea.bustikiller.com/bustikiller/actions/.gitea/workflows/license_finder.yml@0.1

I updated to the latest stable version right before reporting this issue, but that didn't work so wonder if this is something new, or I have misconfigured something. Other workflows and actions work just fine in this instance, this error only happens while attempting to reuse a workflow from another repository.

Thanks in advance!

I'm trying to configure a reusable workflow in my self-hosted gitea instance, but I am getting an error right after checking out the workflow: ``` self-hosted-runner(version:v0.2.11) received task 2820 of job 2655, be triggered by event: pull_request workflow prepared evaluating expression 'success()' expression 'success()' evaluated to 'true' ☁ git clone 'https://gitea.***.com/***/actions' # ref=0.1 cloning https://gitea.***.com/***/actions to /root/.cache/act/***-actions@0.1 Cloned https://gitea.***.com/***/actions to /root/.cache/act/***-actions@0.1 Checked out 0.1 Early termination ``` Definition of [the reused workflow](https://gitea.bustikiller.com/bustikiller/actions/src/commit/c2d721204a57ebf705b5aec1b964f167196e09a1/.gitea/workflows/license_finder.yml): ``` name: Check usage of free licenses on: push: branches: - main pull_request: jobs: license-finder: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - uses: ruby/setup-ruby@v1 with: ruby-version: '3.3' - name: Install license finder gem run: gem install license_finder - name: Run license finder run: license_finder ``` Usage of the workflow: ``` name: Check usage of free licenses on: push: branches: - main pull_request: jobs: license-finder: uses: https://gitea.bustikiller.com/bustikiller/actions/.gitea/workflows/license_finder.yml@0.1 ``` I updated to the latest stable version right before reporting this issue, but that didn't work so wonder if this is something new, or I have misconfigured something. Other workflows and actions work just fine in this instance, this error only happens while attempting to reuse a workflow from another repository. Thanks in advance!
lunny commented 2024-10-30 05:37:58 +00:00 (Migrated from gitea.com)

This is a known issue.

This is a known issue.
vjm commented 2024-12-23 04:40:14 +00:00 (Migrated from gitea.com)

is there a workaround for this?

is there a workaround for this?
Sign in to join this conversation.
No description provided.