mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 00:47:50 +01:00
Improve handling of .git* files/dirs (#3141)
* Create .gitattributes * Remove .github/ in posthog-foss sync * .gitignore whole directories (recursively ofc) * Remove .gitignore line from ages past
This commit is contained in:
parent
ff3d2d7aae
commit
427e4fac6e
7
.gitattributes
vendored
Normal file
7
.gitattributes
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
* text=auto
|
||||||
|
|
||||||
|
.gitattributes export-ignore
|
||||||
|
.gitignore export-ignore
|
||||||
|
.github/ export-ignore
|
||||||
|
CONTRIBUTING.md export-ignore
|
||||||
|
CODE_OF_CONDUCT.md export-ignore
|
3
.github/workflows/posthog-foss.yml
vendored
3
.github/workflows/posthog-foss.yml
vendored
@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
repo-sync:
|
repo-sync:
|
||||||
@ -29,6 +30,6 @@ jobs:
|
|||||||
author_name: PostHog Bot
|
author_name: PostHog Bot
|
||||||
author_email: hey@posthog.com
|
author_email: hey@posthog.com
|
||||||
message: 'Sync and remove all non-FOSS parts'
|
message: 'Sync and remove all non-FOSS parts'
|
||||||
remove: '-r ee/'
|
remove: ['-r ee/', '-r .github/']
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.SYNC_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.SYNC_GITHUB_TOKEN }}
|
||||||
|
11
.gitignore
vendored
11
.gitignore
vendored
@ -10,15 +10,14 @@ settings.yml
|
|||||||
debug.log
|
debug.log
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
impliu/static/CACHE/*
|
node_modules/
|
||||||
node_modules/*
|
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
node_modules
|
node_modules
|
||||||
.vscode/*
|
.vscode/
|
||||||
frontend/.cache/
|
frontend/.cache/
|
||||||
.mypy_cache
|
.mypy_cache
|
||||||
frontend/dist/*
|
frontend/dist/
|
||||||
frontend/types/*
|
frontend/types/
|
||||||
*Type.ts
|
*Type.ts
|
||||||
frontend/yarn-error.log
|
frontend/yarn-error.log
|
||||||
.idea
|
.idea
|
||||||
@ -27,7 +26,7 @@ celerybeat.pid
|
|||||||
yarn-error.log
|
yarn-error.log
|
||||||
.yalc
|
.yalc
|
||||||
yalc.lock
|
yalc.lock
|
||||||
cypress/screenshots/*
|
cypress/screenshots/
|
||||||
docker-compose.prod.yml
|
docker-compose.prod.yml
|
||||||
.python-version
|
.python-version
|
||||||
*.isorted
|
*.isorted
|
||||||
|
Loading…
Reference in New Issue
Block a user