diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 4f74bf45e..611371ec6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -2,7 +2,7 @@ name: Bug report about: Create a report to help us improve title: '' -labels: bug +labels: ["bug", "triage"] assignees: '' --- @@ -28,9 +28,9 @@ _A clear and concise description of what you expected to happen._ _If applicable, add screenshots and/or error messages to help explain your problem._ -## Context Informations +## Context Information -_Add any other context about the probleme here._ +_Add any other context or information about the problem here._ - Used version: [e.g. Commit Hash] - OS: [e.g. Mac OS (M1), Windows, Linux] diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 62c89ee8c..f091eb007 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,23 +1,28 @@ --- -name: Feature request -about: Suggest an idea for this project +name: Feature Request +about: Request a new feature title: '' -labels: enhancement +labels: ['triage', 'enhancement'] assignees: '' --- -_If you are missing a feature or have an idea how to improve this project that should first be -discussed, please feel free to open up a [discussion](https://github.com/eclipse-tractusx/tractusx-edc/discussions/categories/ideas)._ +## WHAT -**Is your feature request related to a problem? Please describe.** -_A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]_ +// describes the desired functionality and how the feature should behave. This should include clear requirements, and a "definition-of-done", i.e. what the result of the issue should be. This is important for concept, documentation or ideation issues -**Describe the solution you'd like** -_A clear and concise description of what you want to happen._ +## WHY +// outlines the motivation, why the feature is desired, and possibly what the impact is if the feature is _not_ +implemented. "Because we need it" is not a sufficient reason! -**Describe alternatives you've considered** -_A clear and concise description of any alternative solutions or features you've considered._ +## HOW -**Additional context** -_Add any other context or screenshots about the feature request here._ +// if possible, outlines a solution proposal + +## FURTHER NOTES + +// anything else you want to outline + +_Please be sure to take a look at +our [contribution guidelines](https://github.com/eclipse-tractusx/tractusx-edc/blob/main/CONTRIBUTING.md) and +our [PR etiquette](https://github.com/eclipse-tractusx/tractusx-edc/blob/main/pr_etiquette.md)._ \ No newline at end of file diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml new file mode 100644 index 000000000..ea304bde2 --- /dev/null +++ b/.github/workflows/stale-bot.yml @@ -0,0 +1,87 @@ +name: Close Inactive Issues + +on: + workflow_call: + secrets: + envGH: + required: true + +jobs: + close-issues-in-triage: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/stale@v8 + with: + operations-per-run: 1000 + days-before-issue-stale: 32 # 4 weeks + days-before-issue-close: 14 + stale-issue-label: "stale" + stale-issue-message: "This issue is stale because it has been open for 4 weeks with no activity." + close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." + close-issue-reason: 'not_planned' + days-before-pr-stale: -1 # ignore PRs (overwrite default days-before-stale) + days-before-pr-close: -1 # ignore PRs (overwrite default days-before-close) + remove-issue-stale-when-updated: true + only-labels: 'triage' + repo-token: ${{ github.token }} + + close-issues-with-assignee: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/stale@v8 + with: + operations-per-run: 1000 + days-before-issue-stale: 32 + days-before-issue-close: 7 + stale-issue-label: "stale" + stale-issue-message: "This issue is stale because it has been open for 4 weeks with no activity." + close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale." + close-issue-reason: 'not_planned' + days-before-pr-stale: -1 # ignore PRs (overwrite default days-before-stale) + days-before-pr-close: -1 # ignore PRs (overwrite default days-before-close) + remove-issue-stale-when-updated: true + exempt-issue-labels: bug # ignore issues labelled as bug + repo-token: ${{ github.token }} + + close-issues-without-assignee: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/stale@v8 + with: + operations-per-run: 1000 + days-before-issue-stale: 14 + days-before-issue-close: 7 + stale-issue-label: "stale" + stale-issue-message: "This issue is stale because it has been open for 2 weeks with no activity." + close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale." + close-issue-reason: 'not_planned' + days-before-pr-stale: -1 # ignore PRs (overwrite default days-before-stale) + days-before-pr-close: -1 # ignore PRs (overwrite default days-before-close) + remove-issue-stale-when-updated: true + exempt-all-issue-assignees: true # issues with assignees will be ignored + exempt-issue-labels: bug,triage # ignore issues labelled as bug or triage + repo-token: ${{ github.token }} + + close-inactive-pull-requests: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: actions/stale@v8 + with: + operations-per-run: 1000 + days-before-issue-stale: -1 # ignore issues (overwrite default days-before-stale) + days-before-issue-close: -1 # ignore issues (overwrite default days-before-close) + stale-pr-label: "stale" + stale-pr-message: "This pull request is stale because it has been open for 7 days with no activity." + close-pr-message: "This pull request was closed because it has been inactive for 7 days since being marked as stale." + days-before-pr-stale: 7 + days-before-pr-close: 7 + remove-pr-stale-when-updated: true + repo-token: ${{ github.token }}