From 0eb338c1b2146067f311cb8dbd28888c0fb4369e Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Mon, 17 Feb 2020 22:36:24 -0500 Subject: [PATCH] Basic `.github` directory --- .github/CODEOWNERS | 1 + .github/ISSUE_TEMPLATE/1_bug_report.md | 17 ++++++++++++++ .github/ISSUE_TEMPLATE/2_feature_request.md | 9 ++++++++ .github/ISSUE_TEMPLATE/3_question.md | 9 ++++++++ .github/ISSUE_TEMPLATE/4_guidance.md | 9 ++++++++ .github/workflows/push_develop.yml | 25 +++++++++++++++++++++ .github/workflows/push_production.yml | 25 +++++++++++++++++++++ 7 files changed, 95 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/ISSUE_TEMPLATE/1_bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/2_feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/3_question.md create mode 100644 .github/ISSUE_TEMPLATE/4_guidance.md create mode 100644 .github/workflows/push_develop.yml create mode 100644 .github/workflows/push_production.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..0e6f76b --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +/* @josephbmanley \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/1_bug_report.md b/.github/ISSUE_TEMPLATE/1_bug_report.md new file mode 100644 index 0000000..f2082ae --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_bug_report.md @@ -0,0 +1,17 @@ +--- +name: 🐞 Bug report +about: Report a bug that has been encountered. +labels: 'bug' +--- + +**Version:** + + + +**Issue description:** + + + +**Steps to reproduce:** + + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2_feature_request.md b/.github/ISSUE_TEMPLATE/2_feature_request.md new file mode 100644 index 0000000..e27d7c2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_feature_request.md @@ -0,0 +1,9 @@ +--- +name: 💡 Feature Request +about: Ideas to improve the stack! +labels: 'enhancement' +--- + +**Description** + + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/3_question.md b/.github/ISSUE_TEMPLATE/3_question.md new file mode 100644 index 0000000..f13b32d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3_question.md @@ -0,0 +1,9 @@ +--- +name: ❓ Question +about: Have a question? Ask it! +labels: 'question' +--- + +**Question** + + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/4_guidance.md b/.github/ISSUE_TEMPLATE/4_guidance.md new file mode 100644 index 0000000..cca138b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/4_guidance.md @@ -0,0 +1,9 @@ +--- +name: 🧭 Guidance +about: Lost? Maybe someone can help. +labels: 'help wanted' +--- + +**Description:** + + diff --git a/.github/workflows/push_develop.yml b/.github/workflows/push_develop.yml new file mode 100644 index 0000000..319e8ed --- /dev/null +++ b/.github/workflows/push_develop.yml @@ -0,0 +1,25 @@ + +name: Push Develop Release + +on: + push: + branches-ignore: + - develop + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v1 + - name: Ship to S3 + uses: jakejarvis/s3-sync-action@master + with: + args: --follow-symlinks --delete + env: + SOURCE_DIR: cloudformation + AWS_REGION: "us-east-1" + DEST_DIR: nakama/develop/cloudformation + AWS_S3_BUCKET: sumu-stacks + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} \ No newline at end of file diff --git a/.github/workflows/push_production.yml b/.github/workflows/push_production.yml new file mode 100644 index 0000000..826b5b4 --- /dev/null +++ b/.github/workflows/push_production.yml @@ -0,0 +1,25 @@ + +name: Push Production Release + +on: + push: + branches: + - develop + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v1 + - name: Ship to S3 + uses: jakejarvis/s3-sync-action@master + with: + args: --follow-symlinks --delete + env: + SOURCE_DIR: cloudformation + AWS_REGION: "us-east-1" + DEST_DIR: nakama/production/cloudformation + AWS_S3_BUCKET: sumu-stacks + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} \ No newline at end of file