mirror of
https://github.com/deepset-ai/haystack.git
synced 2022-02-20 23:31:40 +03:00
Disable autoformat.yml on master (#2198)
* disable autoformat.yml on master * Add a note in CONTRIBUTING.md about branch name
This commit is contained in:
4
.github/workflows/autoformat.yml
vendored
4
.github/workflows/autoformat.yml
vendored
@@ -10,9 +10,13 @@ on:
|
||||
# cannot push changes back to the source fork.
|
||||
# TODO make sure this is still necessary later on.
|
||||
push:
|
||||
branches-ignore:
|
||||
- 'master'
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/*.txt'
|
||||
- '**/*.png'
|
||||
- '**/*.gif'
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -32,6 +32,8 @@ these actions are configured to run on your fork instead of on the base reposito
|
||||
|
||||
2. Verify that "Allow edits and access to secrets by maintainers" on the PR page's sidebar is checked
|
||||
|
||||
3. Make sure the branch of your fork where you push your changes is not called `master`. If it is, either change its name or remember to manually trigger the `Code & Documentation Updates` action after a push.
|
||||
|
||||
### Local
|
||||
However, you can also run the tests locally by executing pytest in your terminal from the `/test` folder.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user