From 0448057d8d315e149abab7d6706ee0bc156041ba Mon Sep 17 00:00:00 2001 From: Abhijeet Gaurav Date: Thu, 3 Aug 2023 12:23:30 +0000 Subject: [PATCH 1/7] feat: updated issue template with figma links Signed-off-by: Abhijeet Gaurav Signed-off-by: hemantmm --- .github/ISSUE_TEMPLATE/bug_report.md | 1 + .github/ISSUE_TEMPLATE/documentation.md | 1 + .github/ISSUE_TEMPLATE/feature_request.md | 1 + .github/ISSUE_TEMPLATE/question.md | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 408ecdf..094c718 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -30,5 +30,6 @@ Steps to reproduce the behavior: [Optional] **Additional Context** +- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9) diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md index 44575f3..c15b376 100644 --- a/.github/ISSUE_TEMPLATE/documentation.md +++ b/.github/ISSUE_TEMPLATE/documentation.md @@ -16,4 +16,5 @@ assignees: '' - [Meshery documentation site](https://meshery.layer5.io/docs/) - [Meshery documentation source](https://github.com/layer5io/meshery/tree/master/docs) - [Instructions for contributing to documentation](https://github.com/layer5io/meshery/blob/master/CONTRIBUTING.md#documentation-contribution-flow) +- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bcf096f..d678740 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -20,3 +20,4 @@ assignees: '' **Alternatives / Additional Context** +- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9) diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md index 7f076ef..a79c337 100644 --- a/.github/ISSUE_TEMPLATE/question.md +++ b/.github/ISSUE_TEMPLATE/question.md @@ -8,4 +8,5 @@ assignees: '' **How can we help?** +- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9) From 4ff6ae1429bf61bd1c89a4448cda8bebd5b7a5dc Mon Sep 17 00:00:00 2001 From: hemantmm Date: Thu, 28 Sep 2023 11:17:12 +0530 Subject: [PATCH 2/7] Update slack.yaml Signed-off-by: hemantmm --- .github/workflows/slack.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/slack.yml b/.github/workflows/slack.yml index 81d6bc6..399a40a 100644 --- a/.github/workflows/slack.yml +++ b/.github/workflows/slack.yml @@ -1,16 +1,30 @@ name: Slack Notify on Star -on: watch +on: + watch: + types: [started] jobs: star-notify: + if: github.event_name == 'watch' name: Notify Slack on star - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Get current star count run: | - echo ::set-env name=STARS::$(curl --silent 'https://api.github.com/repos/layer5io/istio-service-mesh-workshop' -H 'Accept: application/vnd.github.preview' | jq '.watchers_count') + echo "STARS=$(curl --silent 'https://api.github.com/repos/${{github.repository}}' -H 'Accept: application/vnd.github.preview' | jq '.stargazers_count')" >> $GITHUB_ENV - name: Notify slack env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} uses: pullreminders/slack-action@master with: - args: '{\"channel\":\"CSK7N9TGX\",\"text\":\"${{ github.actor }} just starred Istio Service Mesh Workshop! (https://github.com/layer5io/istio-service-mesh-workshop/stargazers) Total ⭐️: ${{env.STARS}}\"}' + args: '{\"channel\":\"CSK7N9TGX\",\"text\":\"${{ github.actor }} just starred ${{github.repository}}! (https://github.com/${{github.repository}}/stargazers) Total ⭐️: ${{env.STARS}}\"}' + good-first-issue-notify: + if: github.event_name == 'issues' && github.event.label.name == 'good first issue' || github.event.label.name == 'first-timers-only' + name: Notify Slack for new good-first-issue + runs-on: ubuntu-22.04 + steps: + - name: Notify slack + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + uses: pullreminders/slack-action@master + with: + args: '{\"channel\":\"C019426UBNY\",\"text\":\"A good first issue label was just added to ${{github.event.issue.html_url}}.\"}' \ No newline at end of file From 8a9826e33db0fd8171e228cc0d89e7326aa05484 Mon Sep 17 00:00:00 2001 From: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> Date: Thu, 28 Sep 2023 20:21:28 +0530 Subject: [PATCH 3/7] Delete .github/ISSUE_TEMPLATE/bug_report.md Signed-off-by: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug_report.md | 35 ---------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 094c718..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Bug/issue report -about: Report an issue to help improve the project. -title: '' -labels: 'kind/bug' -assignees: '' ---- -**Description** - - -**Expected Behavior** - - -**Screenshots** - - -**Environment:** - - OS: [e.g. Ubuntu] - - Browser: [e.g. Chrome, Safari] - - Version: [e.g. 22] - - Device: [e.g. laptop, iPhone 8] - ---- -[Optional] **To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -[Optional] **Additional Context** - -- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9) - - From 6b86dc4fa8929451e842b8e70dac34e93b2ce6f3 Mon Sep 17 00:00:00 2001 From: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> Date: Thu, 28 Sep 2023 20:22:26 +0530 Subject: [PATCH 4/7] Delete .github/ISSUE_TEMPLATE/documentation.md Signed-off-by: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/documentation.md | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/documentation.md diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md deleted file mode 100644 index c15b376..0000000 --- a/.github/ISSUE_TEMPLATE/documentation.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Documentation issue -about: Issues related to documentation. -title: '[Docs]' -labels: 'area/docs' -assignees: '' ---- -**Current State:** - - -**Desired State:** - - ---- -**Contributor Resources** -- [Meshery documentation site](https://meshery.layer5.io/docs/) -- [Meshery documentation source](https://github.com/layer5io/meshery/tree/master/docs) -- [Instructions for contributing to documentation](https://github.com/layer5io/meshery/blob/master/CONTRIBUTING.md#documentation-contribution-flow) -- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9) - From 6e88561251b4fecd9c33aaa2b816e4ae20a1cf48 Mon Sep 17 00:00:00 2001 From: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> Date: Thu, 28 Sep 2023 20:23:07 +0530 Subject: [PATCH 5/7] Delete .github/ISSUE_TEMPLATE/feature_request.md Signed-off-by: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/feature_request.md | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index d678740..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: Feature Request -about: Suggest an enhancement to this project. -title: '' -labels: 'kind/enhancement' -assignees: '' ---- - -**Current Behavior** - - - -**Desired Behavior** - - - ---- -**Resources** - - -**Alternatives / Additional Context** - -- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9) From 555fc50dada930351a33481adffe97a0801958ec Mon Sep 17 00:00:00 2001 From: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> Date: Thu, 28 Sep 2023 20:23:27 +0530 Subject: [PATCH 6/7] Delete .github/ISSUE_TEMPLATE/question.md Signed-off-by: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/question.md | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index a79c337..0000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: General question -about: Request information about the project; clarify behavior of the software -title: '[Question]' -labels: 'kind/question' -assignees: '' ---- - -**How can we help?** - -- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9) - From 30927d42273a57f833ad7d3e61560994548b4be7 Mon Sep 17 00:00:00 2001 From: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> Date: Thu, 28 Sep 2023 20:23:51 +0530 Subject: [PATCH 7/7] Update slack.yml Signed-off-by: Hemant M Mehta <92446645+hemantmm@users.noreply.github.com> --- .github/workflows/slack.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/slack.yml b/.github/workflows/slack.yml index 399a40a..b7b85f3 100644 --- a/.github/workflows/slack.yml +++ b/.github/workflows/slack.yml @@ -1,4 +1,4 @@ -name: Slack Notify on Star +name: Slack Notify on: watch: types: [started] @@ -27,4 +27,4 @@ jobs: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} uses: pullreminders/slack-action@master with: - args: '{\"channel\":\"C019426UBNY\",\"text\":\"A good first issue label was just added to ${{github.event.issue.html_url}}.\"}' \ No newline at end of file + args: '{\"channel\":\"C019426UBNY\",\"text\":\"A good first issue label was just added to ${{github.event.issue.html_url}}.\"}'