summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Daily <kdaily@amazon.com>2022-04-25 15:51:03 -0700
committerGitHub <noreply@github.com>2022-04-25 15:51:03 -0700
commit428cfb04131ca225b6d1b214a6103dc47e30db4a (patch)
tree5d0c962e3513a886984ade3de0eb9969ddbb553a
parentb2a6f08122b2f1b89888d2848e730893595cd001 (diff)
parent8a960ee59360e6ef2087bbd319f3e64f847f82b0 (diff)
downloadboto-428cfb04131ca225b6d1b214a6103dc47e30db4a.tar.gz
Merge pull request #3940 from kdaily/add-deprecation-infra
Add deprecation infrastructure
-rw-r--r--.github/ISSUE_TEMPLATES/config.yml2
-rw-r--r--.github/ISSUE_TEMPLATES/new_issue.yaml8
-rw-r--r--.github/workflows/open_issue_message.yml15
-rw-r--r--.github/workflows/open_pr_message.yml15
-rw-r--r--.github/workflows/stale_bot.yml32
5 files changed, 69 insertions, 3 deletions
diff --git a/.github/ISSUE_TEMPLATES/config.yml b/.github/ISSUE_TEMPLATES/config.yml
new file mode 100644
index 00000000..bd9dfe4e
--- /dev/null
+++ b/.github/ISSUE_TEMPLATES/config.yml
@@ -0,0 +1,2 @@
+---
+blank_issues_enabled: false
diff --git a/.github/ISSUE_TEMPLATES/new_issue.yaml b/.github/ISSUE_TEMPLATES/new_issue.yaml
index 6ec43dd4..2aa753b6 100644
--- a/.github/ISSUE_TEMPLATES/new_issue.yaml
+++ b/.github/ISSUE_TEMPLATES/new_issue.yaml
@@ -1,10 +1,12 @@
---
name: New issue
-about: Create an issue
+about: Open a new issue
title: ''
+labels: ''
assignees: ''
---
-This package is no longer maintained and has been replaced by [`boto3`](https://github.com/boto/boto3). Issues and pull requests are not reviewed.
-If you are having an issue with the [`boto3`](https://github.com/boto/boto3) package or the [AWS CLI](https://github.com/aws/aws-cli), please open an issue on their respective repositories.
+### ⚠️DEPRECATION NOTICE⚠️
+
+This package is no longer maintained and has been replaced by [`boto3`](https://github.com/boto/boto3/). Issues are not triaged or reviewed by AWS. The issues in this repository can be used by the community for support purposes. If you are having an issue with the [`boto3`](https://github.com/boto/boto3/) package or the [AWS CLI](https://github.com/aws/aws-cli/), please open an issue on their respective repositories.
diff --git a/.github/workflows/open_issue_message.yml b/.github/workflows/open_issue_message.yml
new file mode 100644
index 00000000..e25a8ca0
--- /dev/null
+++ b/.github/workflows/open_issue_message.yml
@@ -0,0 +1,15 @@
+name: Open Issue Message
+on:
+ issues:
+ types: [opened]
+jobs:
+ auto_comment:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: aws-actions/closed-issue-message@v1
+ with:
+ # These inputs are both required
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ message: |
+ ### ⚠️DEPRECATION NOTICE⚠️
+ This package is no longer maintained and has been replaced by [`boto3`](https://github.com/boto/boto3/). Issues are not triaged or reviewed by AWS. The issues in this repository can be used by the community for support purposes. If you are having an issue with the [`boto3`](https://github.com/boto/boto3/) package or the [AWS CLI](https://github.com/aws/aws-cli/), please open an issue on their respective repositories.
diff --git a/.github/workflows/open_pr_message.yml b/.github/workflows/open_pr_message.yml
new file mode 100644
index 00000000..706ddc66
--- /dev/null
+++ b/.github/workflows/open_pr_message.yml
@@ -0,0 +1,15 @@
+name: Open Issue Message
+on:
+ pull_request:
+ types: [opened]
+jobs:
+ auto_comment:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: aws-actions/closed-issue-message@v1
+ with:
+ # These inputs are both required
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ message: |
+ ### ⚠️DEPRECATION NOTICE⚠️
+ This package is no longer maintained and has been replaced by [`boto3`](https://github.com/boto/boto3/). Pull requests are not reviewed by AWS and will not be merged. If you are having an issue with the [`boto3`](https://github.com/boto/boto3/) package or the [AWS CLI](https://github.com/aws/aws-cli/), please open an issue on their respective repositories.
diff --git a/.github/workflows/stale_bot.yml b/.github/workflows/stale_bot.yml
new file mode 100644
index 00000000..70df86b8
--- /dev/null
+++ b/.github/workflows/stale_bot.yml
@@ -0,0 +1,32 @@
+name: "Close stale issues and pull requests"
+
+# Controls when the action will run.
+on:
+ schedule:
+ - cron: "0 * * * *"
+
+jobs:
+ issue-cleanup:
+ runs-on: ubuntu-latest
+ name: Stale issue job
+ steps:
+ - uses: aws-actions/stale-issue-cleanup@v4
+ with:
+ issue-types: issues,pull_requests
+ ancient-issue-message: Greetings! This issue hasn't been active in longer
+ than one year. Since this repository is no longer maintained, community comments can continue to be made but they will not be reviewed by AWS. In the absence of further activity, this issue will close soon.
+ ancient-pr-message: Greetings! This pull request hasn't been active in longer
+ than one year. Since this repository is no longer maintained, community comments can continue to be made but they will not be reviewed by AWS. In the absence of further activity, this pull request will close soon.
+
+ # Don't set closed-for-staleness label to skip closing very old issues
+ # regardless of label
+ closed-for-staleness-label: closed-for-staleness
+
+ # Issue timing
+ days-before-ancient: 2555
+ days-before-close: 7
+
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ loglevel: DEBUG
+ # Set dry-run to true to not perform label or close actions.
+ dry-run: true