Skip to content

Commit

Permalink
Sync branch [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate-bot authored Jun 6, 2023
2 parents 2f0c1c1 + 8735194 commit 33d5999
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Bug report
description: Report a bug so we can get to squashing it.
labels: bug
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
attributes:
label: Description
description: Please write a brief description of the bug, including what you expect to happen and what is currently happening.
placeholder: |
Feature '...' is not working properly. I expect '...' to happen, but '...' happens instead
validations:
required: true

- type: textarea
attributes:
label: Step-by-step reproduction instructions
description: Please write the steps needed to reproduce the bug.
placeholder: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
validations:
required: true

- type: textarea
attributes:
label: Screenshots, screen recording, code snippet or Help Scout ticket
description: |
If possible, please upload a screenshot or screen recording which demonstrates the bug.
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
Tip: You can include links to customer Help Scout support thread.
validations:
required: false

- type: input
attributes:
label: Environment info
description: |
Please share a https://pastebin.com/ link of your system details by going to site Admin -> Tools -> Site Health -> Info and Copy to Clipboard
placeholder: pastebin.com/ ...
validations:
required: false

- type: dropdown
id: regression
attributes:
label: Is the issue you are reporting a regression
description: |
Choose "Yes" if the bug appeared after updating the product, meaning it worked before but not now. Choose "No" if the bug isn't caused by an update. Marking a bug as regression helps us fix issues from new changes faster.
multiple: false
options:
- 'No'
- 'Yes, this is a regression.'
validations:
required: true

21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Feature request
description: Suggest a feature that we can implement.
labels: new feature
body:
- type: textarea
attributes:
label: What problem does this address?
description: |
Can you give us a little more insight into this feature request? We'd love to know if it's related to any problems or pain points you've been facing.
If so, can you please let us know what the issue is in a clear and simple way?
Tip: If this is related to a customer request, please add the Help Scout thread URL.
placeholder: |
For example, something like "I find it tough when..." or "I get frustrated because..." would be great.
validations:
required: true
- type: textarea
attributes:
label: What is your proposed solution?
description: Can you please specify the desired feature or improvement and how it resolves the problem mentioned?
validations:
required: false
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

version: 2
updates:

# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
target-branch: "development"
schedule:
interval: "weekly"
5 changes: 5 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
regression:
- '(Yes, this is a regression)'

customer report:
- '(helpscout)'
14 changes: 14 additions & 0 deletions .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Issue Labeler"
on:
issues:
types: [opened]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@master
with:
repo-token: "${{ secrets.BOT_TOKEN }}"
enable-versioned-regex: 0
configuration-path: .github/labeler.yml
42 changes: 42 additions & 0 deletions .github/workflows/new-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Add to project

on:
issues:
types: [opened,transferred]

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
id: add_project
with:
project-url: ${{ secrets.PROJECT_PLANNING }}
github-token: ${{ secrets.BOT_TOKEN_PROJECT }}
- name: Set Team
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN_PROJECT }}
run: |
gh api graphql -f query='
mutation(
$project: ID!
$item: ID!
$status_field: ID!
$status_value: String!
) {
updateProjectV2ItemFieldValue(
input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: {
singleSelectOptionId: $status_value
}
}
) {
projectV2Item {
id
}
}
}' -f project=${{ secrets.PROJECT_PLANNING_ID }} -f item=${{ steps.add_project.outputs.itemId }} -f status_field=${{ secrets.PLANNING_TEAM_FIELD_ID }} -f status_value=f0658f06 --silent

0 comments on commit 33d5999

Please sign in to comment.