Giter Club home page Giter Club logo

actions-find-and-replace-string's People

Contributors

alexrashed avatar biggillystyle avatar dependabot[bot] avatar kishyr avatar mbarouski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

actions-find-and-replace-string's Issues

bug: strips spaces at edges

I need to replace a character with --tag but the result strips, eg:

input a,b,c
output a--tagb--tagc
desired a --tag b --tag c

Error: Unable to process file command 'output' successfully.

Hello,
The workflow used to work fine, however recently I got this error

Run mad9000/actions-find-and-replace-string@3
  with:
    source: release_v_0.15.0
  
  release_v_0.1[5](https://github.com/matrix-org/matrix-wysiwyg-composer-swift/actions/runs/3885007085/jobs/6628557080#step:3:5).0
    find: release_v_
Error: Unable to process file command 'output' successfully.
Error: Invalid format 'release_v_0.15.0'

Multiple occurances not replaced

I've tried to replace slashes in branch name like feature/stage/my-branch and second slash symbol was not replaced.
I'm not sure about options to repeat replacing step until all symbols are not replaced, so probably it will be better to handle it in your code.

using actions-find-and-replace-string to escape double quotes

I need to stuff the github.event.issue.title into a GraphQL query to Monday.com. The column_value is the github.event.issue.title which can contain double-quotes, that mess up the query. WHat's the proper way to do this?

      - id: title
        uses: mad9000/actions-find-and-replace-string@2
        with:
          source: ${{ github.event.issue.title }}
          find: '"' 
          replace: '\\\"'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.