Comments (12)
@giladlevy7 Does the file exists in the repo ?
from glob.
@jackton1 yes, it exist (but it should work even if it doesn't, right?)
from glob.
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 Can you also include your configuration of the https://github.com/actions/checkout?
from glob.
@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.
@giladlevy7 Can you upgrade actions/checkout@v2 to v3
from glob.
@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.
@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.
hi @jackton1 !
can we reopen that?
were you able to use the "files" filter for init.py file?
from glob.
@giladlevy7 See the link PR
from glob.
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 thanks!
from glob.
Related Issues (14)
- [BUG] Warnings about Node.js 16 actions being deprecated HOT 2
- [Feature] Add support for reading .eslint.config.(js,mjs) for eslint v9
- [BUG] Invalid pattern with relative path in .gitignore HOT 1
- [Feature] node12 deprecation
- [BUG] wrong file patterns created from .gitignore entries HOT 1
- [gitignore] optionally include directories that are a part of gitignore in the glob HOT 2
- [BUG] The `**.<ext>` pattern matches only files from the root (= `*.<ext>`) HOT 4
- [BUG] Brace expansion causes grep: : No such file or directory HOT 1
- [BUG] gitignore excludes are not correctly reflected HOT 6
- [Feature] Support named filters HOT 1
- [Feature] Option to succeed if no path match the pattern HOT 3
- Dependency Dashboard HOT 1
- [Feature] Add option to use git ls-files or list files using git instead of using the file system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glob.