diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..f83845ff05 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,33 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: 'bug' +assignees: '' + +--- + +# Description + + +# Environment +OS: ` ` +Version: ` ` + +# Steps To Reproduce + + +# Expected behavior + + +# Actual Behavior + + +# Additional context + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000..a68651eb50 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,24 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: 'feature' +assignees: '' + +--- + +## Overview + + +## Problem + + +## Solution + + +## Alternatives + + +## Additional context + + \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000000..53ec1b6b34 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,47 @@ +## Overview + + + + + + + + + + + + \ No newline at end of file diff --git a/.github/workflows/pr-created.yaml b/.github/workflows/pr-created.yaml new file mode 100644 index 0000000000..09127ae3c5 --- /dev/null +++ b/.github/workflows/pr-created.yaml @@ -0,0 +1,23 @@ +name: pull_request_created +on: + pull_request: + types: [opened, reopened, synchronize, ready_for_review] + branches: + - 'master' + - 'main' + paths-ignore: + - '**.md' ### Ignore running when .md files change + - '**.yaml' ### Ignore running when .yaml files change + - '**.json' ### Ignore running when .json files change + - '.github/*' ### Ignore running when files under path: .github/* changed. + +concurrency: + group: ${{ github.head_ref }} + cancel-in-progress: true + +jobs: + pr-created: + uses: kubescape/workflows/.github/workflows/incluster-comp-pr-created.yaml@main + with: + GO_VERSION: "1.19" + secrets: inherit \ No newline at end of file