Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mikeage opened this issue May 24, 2024 · 2 comments

Comments

@mikeage
Copy link

mikeage commented May 24, 2024

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
Copy link
Collaborator

dmvict commented May 27, 2024

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

@dmvict dmvict closed this as completed May 27, 2024
@mikeage
Copy link
Author

mikeage commented May 27, 2024

ok, thanks. Sorry I missed the other issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants