From 9c11d2f196ccabf1ecd91295b4ad63fb83155975 Mon Sep 17 00:00:00 2001 From: Marc Beinder Date: Tue, 9 Apr 2024 13:27:58 -0500 Subject: [PATCH] Setup DirectorySync --- .github/workflows/directory-sync.yml | 18 ++++++++++++++++++ .gitignore | 1 + README.md | 2 ++ img/.gitkeep | 1 - 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/directory-sync.yml create mode 100644 .gitignore delete mode 100644 img/.gitkeep diff --git a/.github/workflows/directory-sync.yml b/.github/workflows/directory-sync.yml new file mode 100644 index 0000000..75f81a3 --- /dev/null +++ b/.github/workflows/directory-sync.yml @@ -0,0 +1,18 @@ +name: DirectorySync + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + DirectorySync: + uses: EncoreDigitalGroup/.github/.github/workflows/directory-sync.yml@main + with: + source: 'guides/' + targetRepo: 'encoredigitalgroup/internal-kb' + targetDirectory: 'style-guide' + commitMessage: '[Automated] DirectorySync' + secrets: + token: ${{ secrets.GH_GENERAL_ACCESS_TOKEN }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/README.md b/README.md index e945b30..3c5d75f 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ If you've arrived here, you're probably thinking, "Great, yet another company is putting out yet another style guide on how they think code should be organized." While that's partially true, this style guide really serves as a set of guidelines aiming toward keeping code styles as consistent as possible. ### Common Style Guides + [Common Language Style Guide](/guides/common.md) ### Language-Specific Style Guides + [PHP Style Guide](/guides/lang/php.md)



diff --git a/img/.gitkeep b/img/.gitkeep deleted file mode 100644 index 8b13789..0000000 --- a/img/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -