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

Version v1.2.3 is generating errors #3

Open
miguelaferreira opened this issue Nov 15, 2022 · 0 comments
Open

Version v1.2.3 is generating errors #3

miguelaferreira opened this issue Nov 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@miguelaferreira
Copy link

miguelaferreira commented Nov 15, 2022

The action execution is failing, and I get the following log line and then a big dump of JavaScript code.

/home/runner/work/_actions/wow-actions/delete-stale-releases/v1.2.3/dist/index.js.cache.js:14

Expected Behavior

The action executes and deletes the releases according to configuration.

Current Behavior

The execution fails, the log line mentioned above is printed together with a dump of JavaScript code.

Steps To Reproduce

  1. Create a workflow that runs on closed PRs
  2. Add the following step to a job on that workflow (where '*rc*' is a regex to match specific releases).
        - name: Delete GitHub release candidates
       id: delete-github
       uses: wow-actions/[email protected]
       with:
         key: name
         include: '*rc*'
         include_prerelease: true
         include_draft: true
         delete_tags: true
    
  3. Open and close a PR
  4. The workflow fails
Error Message & Stack Trace

Log file: action-execution-log.txt

Additional Context

I'm trying to run the action. It used to work before and it stopped working at some point.

Your Environment

Action is running on GitHub actions ubuntu-latest.
In my environment, release v1.2.1 works correctly and the issue reported here starts to happen as of release v1.2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant