From 1c96d95edf08eefd24185f912bac5bfa59699c28 Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Wed, 20 Apr 2022 10:44:24 -0700 Subject: Add workflow on issue creation to comment Comment that issues are not triaged. --- .github/workflows/open_issue_message.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/open_issue_message.yml diff --git a/.github/workflows/open_issue_message.yml b/.github/workflows/open_issue_message.yml new file mode 100644 index 00000000..c9563e95 --- /dev/null +++ b/.github/workflows/open_issue_message.yml @@ -0,0 +1,13 @@ +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: "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." -- cgit v1.2.1 From 3dd26f0a14ae7acf8df1befedfb40ccdc3b0fc2f Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Wed, 20 Apr 2022 11:37:59 -0700 Subject: Add workflow to comment on opened prs. --- .github/workflows/open_pr_message.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/open_pr_message.yml diff --git a/.github/workflows/open_pr_message.yml b/.github/workflows/open_pr_message.yml new file mode 100644 index 00000000..f77d7cc0 --- /dev/null +++ b/.github/workflows/open_pr_message.yml @@ -0,0 +1,13 @@ +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: "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." -- cgit v1.2.1 From ec120e79dd774b096d512d3aeedf782e822ca5b7 Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Wed, 20 Apr 2022 11:48:42 -0700 Subject: Update to check PRs for staleness too. --- .github/workflows/stale_bot.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/stale_bot.yml diff --git a/.github/workflows/stale_bot.yml b/.github/workflows/stale_bot.yml new file mode 100644 index 00000000..adf66b72 --- /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: 365 + 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 -- cgit v1.2.1 From d9f70e74da696c49cf7e1b5bf0f501d0e1fc5e77 Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Wed, 20 Apr 2022 11:52:45 -0700 Subject: update message to have a prominent header --- .github/workflows/open_issue_message.yml | 4 +++- .github/workflows/open_pr_message.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/open_issue_message.yml b/.github/workflows/open_issue_message.yml index c9563e95..e25a8ca0 100644 --- a/.github/workflows/open_issue_message.yml +++ b/.github/workflows/open_issue_message.yml @@ -10,4 +10,6 @@ jobs: with: # These inputs are both required repo-token: "${{ secrets.GITHUB_TOKEN }}" - message: "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." + 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 index f77d7cc0..706ddc66 100644 --- a/.github/workflows/open_pr_message.yml +++ b/.github/workflows/open_pr_message.yml @@ -10,4 +10,6 @@ jobs: with: # These inputs are both required repo-token: "${{ secrets.GITHUB_TOKEN }}" - message: "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." + 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. -- cgit v1.2.1 From 3f78f3c2a8f7ff04be6e9f59a6b7bcb82eedb0ac Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Fri, 22 Apr 2022 16:09:02 -0700 Subject: set ancient to 7 years old as first pass. --- .github/workflows/stale_bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale_bot.yml b/.github/workflows/stale_bot.yml index adf66b72..70df86b8 100644 --- a/.github/workflows/stale_bot.yml +++ b/.github/workflows/stale_bot.yml @@ -23,7 +23,7 @@ jobs: closed-for-staleness-label: closed-for-staleness # Issue timing - days-before-ancient: 365 + days-before-ancient: 2555 days-before-close: 7 repo-token: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.1 From 8a960ee59360e6ef2087bbd319f3e64f847f82b0 Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Fri, 22 Apr 2022 16:17:11 -0700 Subject: Add new issue template with deprecation notice --- .github/ISSUE_TEMPLATES/config.yml | 2 ++ .github/ISSUE_TEMPLATES/new_issue.yaml | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .github/ISSUE_TEMPLATES/config.yml 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. -- cgit v1.2.1