Git Product home page Git Product logo

Comments (12)

jackton1 avatar jackton1 commented on June 27, 2024

@giladlevy7 Does the file exists in the repo ?

from glob.

giladlevy7 avatar giladlevy7 commented on June 27, 2024

@jackton1 yes, it exist (but it should work even if it doesn't, right?)

from glob.

github-actions avatar github-actions commented on June 27, 2024

Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.

from glob.

jackton1 avatar jackton1 commented on June 27, 2024

@giladlevy7 Can you also include your configuration of the https://github.com/actions/checkout?

from glob.

giladlevy7 avatar giladlevy7 commented on June 27, 2024

@jackton1 of course, thanks for helping.

     - uses: amannn/action-semantic-pull-request@v4
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      matrix:
        python-version: [ 3.10.0 ]
    runs-on: ubuntu-20.04

from glob.

jackton1 avatar jackton1 commented on June 27, 2024

@giladlevy7 Can you upgrade actions/checkout@v2 to v3

from glob.

jackton1 avatar jackton1 commented on June 27, 2024

@giladlevy7 Closing this issue, for now, since a new version has been released. Let me know if the issue persists and I can reopen the issue. I also recommend that you enable debugging and post the entire log output i.e including the checkout and the changed files actions steps

from glob.

giladlevy7 avatar giladlevy7 commented on June 27, 2024

@jackton1
I would still appreciate your assistance
this is what I'm using now:

    runs-on: ubuntu-20.04
    timeout-minutes: 30
    if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.base.ref == 'main' }}
    strategy:
      fail-fast: true
      matrix:
        python-version: [ 3.10.0 ]

    steps:
      - name: Checkout code
        uses: actions/checkout@v3
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v3
        with:
          python-version: ${{ matrix.python-version }}
        # First, we verify that init file was changed
      - name: Get changed files
        id: changed-files
        uses: tj-actions/[email protected]
        with:
          files: |
            __init__.py

and unfortunately it still fails:

  Resolving repository path: /home/runner/work/rivery_commons/rivery_commons/.
  Retrieving changes between 3b5505aff40fd730ffaa9df6f346de0c591ff9ba (main) → 6db88282523513365b8f565651a6ae2e7253c41f (fix/gilad/linter-issue)
  grep: : No such file or directory
  grep: : No such file or directory
  grep: : No such file or directory
  grep: : No such file or directory
  /home/runner/work/_actions/tj-actions/changed-files/v34.6.1/get-changed-paths.sh: line 91: echo: write error: Broken pipe

is it working for you with finding init.py file?

i don't think it's the code checkout since if I'm looking for another file - it works, or without any filter - also works
failing only on init

from glob.

giladlevy7 avatar giladlevy7 commented on June 27, 2024

hi @jackton1 !

can we reopen that?
were you able to use the "files" filter for init.py file?

from glob.

jackton1 avatar jackton1 commented on June 27, 2024

@giladlevy7 See the link PR

Screenshot 2022-12-17 at 10 02 41 PM

from glob.

github-actions avatar github-actions commented on June 27, 2024

Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.

from glob.

giladlevy7 avatar giladlevy7 commented on June 27, 2024

@jackton1 thanks!

from glob.

Related Issues (14)

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.