-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
repo-sync: | ||
|
@@ -29,6 +30,6 @@ jobs: | |
author_name: PostHog Bot | ||
author_email: [email protected] | ||
message: 'Sync and remove all non-FOSS parts' | ||
remove: '-r ee/' | ||
remove: ['-r ee/', '-r .github/'] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SYNC_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters