Wandalen / wretry.action

Retry action for Github CI
MIT License
93 stars 20 forks source link

'Runner "composite" does not implemented' when trying to wrap pre-commit's action #164

Closed mikeage closed 3 months ago

mikeage commented 3 months ago

I tried using wretry.action to wrap pre-commit's (maintainance only now) action, and it's failing with this error on the pre step (it doesn't even clone):

Run Wandalen/wretry.action@master
Run Wandalen/wretry.action@v3.5.0_js_action
Error: Runner "composite" does not implemented.
Please, search/open a related issue.

Here's a link to a failure:
https://github.com/mikeage/pre-commit_retry-test/actions/runs/9219438877/job/25364592211 Here's the job before, where it worked: https://github.com/mikeage/pre-commit_retry-test/actions/runs/9219409909 And here's a repo with a minimal example: https://github.com/mikeage/pre-commit_retry-test

---
# yamllint disable rule:line-length
name: pre-commit

on:  # yamllint disable-line rule:truthy
  push:
    branches:
      - main

jobs:
  pre-commit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: Wandalen/wretry.action@master
        with:
          action: pre-commit/action@v3.0.1
dmvict commented 3 months ago

Hello @mikeage

Sorry, but we can't help you. The composite actions is a very different kind of actions. It's like workflow in workflow. See syntax of action file. To run such action we need some workflow runner and advanced logic for handling steps.

If you need to retry a composite action then you can extract steps from its action file and wrap it by wretry.action.

Link to the same issue

mikeage commented 3 months ago

ok, thanks. Sorry I missed the other issue