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

could not find contributing_to_black.md on github action #1602

Closed
krux02 opened this issue Aug 14, 2020 · 2 comments
Closed

could not find contributing_to_black.md on github action #1602

krux02 opened this issue Aug 14, 2020 · 2 comments
Labels
C: integrations Editor plugins and other integrations R: duplicate This issue or pull request already exists T: bug Something isn't working

Comments

@krux02
Copy link

krux02 commented Aug 14, 2020

I used the github action from the readme and copy pasted into our project. The pull requests fails with the following error message here:

 Set up job2s
##[error]Could not find file '/home/runner/work/_actions/_temp_969739ad-9b09-42e5-b290-ab56cbb44a6d/_staging/psf-black-6bedb5c/docs/contributing_to_black.md'.
Current runner version: '2.272.0'
Operating System
Virtual Environment
Prepare workflow directory
Prepare all required actions
Download action repository 'actions/checkout@v2'
Download action repository 'actions/setup-python@v2'
Download action repository 'psf/black@stable'
##[error]Could not find file '/home/runner/work/_actions/_temp_969739ad-9b09-42e5-b290-ab56cbb44a6d/_staging/psf-black-6bedb5c/docs/contributing_to_black.md'.

Expected behavior

Some error message about linting or on what I did wrong to configure black itself. I cannot do anything with the error message ablove

Environment (please complete the following information):

Here is the PR that should introduce black:

protontypes/LibreSelery#97

Does this bug also happen on master? I replaced stable with master in black.yml and now I get useful error messages. So no it does not happen on master.

@krux02 krux02 added the T: bug Something isn't working label Aug 14, 2020
@ichard26 ichard26 added the R: duplicate This issue or pull request already exists label Aug 14, 2020
@ichard26
Copy link
Collaborator

ichard26 commented Aug 14, 2020

Duplicate of #1520.

This will be fixed by a new release which #1583 is all about. We moved a lot of stuff between stable and master so that's probably why the paths are broken. Sorry for the inconvenience!

Edit: on stable we had broken symlinks so that's why the Action is failing to setup.

@ichard26 ichard26 added the C: integrations Editor plugins and other integrations label Aug 14, 2020
@krux02
Copy link
Author

krux02 commented Aug 14, 2020

thank you for the fast reply. Actually reporting the issue made me try out the master which in the end did solve it for me. And of course thank you for making this tool for free.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: integrations Editor plugins and other integrations R: duplicate This issue or pull request already exists T: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants