Bug: fatal: not a git repository when no .gitattributes file is present
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the linked action log and reproduce the deployment using a build directory that has neither .gitattributes nor .distignore. Trace the shell-based GitHub Action path that handles those files; done means the action passes and deploys all files from the prepared directory.
Written by the indexing model from the issue text.
Description
Describe the bug
When there are no .gitattributes nor .distignore files present in the build, the action fails.
Please see the action log.
Steps to Reproduce
I'm using a build process that already puts all the clean files into a separate directory and starts the WP.org release from there. So I have only the files which need to be picked up.
Expected behavior
It just passes with all the files.
- Dominant language
- Shell
- Stars
- 665
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 10up/action-wordpress-plugin-deploy
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
10up/action-wordpress-plugin-deploy#172 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
10up/action-wordpress-plugin-deploy#146 · 10 comments ·
All issues in 10up/action-wordpress-plugin-deploy
Similar issues
-
area: ui good first issue javascript priority: medium refactor
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fukubie/StockLlama#49 ·
-
github_actions priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Let's document: aptOpenhelp wanted let's document new command
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tldr-pages/tldr#25447 ·
Maintainers usually reply within 1 day
-
area:server ci-cd good first issue priority:high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
James-Burgess/framer#17 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day