diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2865a1b4..cbaae950 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,16 @@ version: 2 updates: -- package-ecosystem: mix - directory: "/" - schedule: - interval: weekly - open-pull-requests-limit: 999 + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + + - package-ecosystem: mix + directory: "/" + schedule: + interval: weekly + groups: + prod: + dependency-type: production + dev: + dependency-type: development diff --git a/.github/release-please-config.json b/.github/release-please-config.json index cd8b23a4..f4e60143 100644 --- a/.github/release-please-config.json +++ b/.github/release-please-config.json @@ -13,7 +13,7 @@ "hidden": false }, { - "type": "chore", + "type": "refactor", "section": "Miscellaneous", "hidden": false } diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index f6036fe0..a176a040 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -34,10 +34,10 @@ jobs: Please use one of the following types: - - **feat:** A new feature, resulting in a MINOR version bump." - - **fix:** A bug fix, resulting in a PATCH version bump." - - **refactor:** A code change that neither fixes a bug nor adds a feature, resulting in a PATCH version bump." - - **chore:** Changes unrelated to the release code, resulting in no version bump." - - **revert:** Reverts a previous commit." + - **feat:** A new feature, resulting in a MINOR version bump. + - **fix:** A bug fix, resulting in a PATCH version bump. + - **refactor:** A code change that neither fixes a bug nor adds a feature. + - **chore:** Changes unrelated to the release code, resulting in no version bump. + - **revert:** Reverts a previous commit. See https://www.conventionalcommits.org/en/v1.0.0/ for more information. diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 00000000..ea702c12 --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,47 @@ +name: "Close stale issues and PRs" + +on: + workflow_dispatch: + schedule: + - cron: "30 1 * * *" + +permissions: + contents: write + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + days-before-issue-stale: 30 + days-before-issue-close: 15 + days-before-pr-stale: 60 + days-before-pr-close: 60 + + stale-issue-label: "stale:discard" + exempt-issue-labels: "stale:keep" + stale-issue-message: > + This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to + prioritize it yet. + + If this issue still relevant, please leave any comment if you have any new additional information that + helps to solve this issue. We encourage you to create a pull request, if you can. We are happy to help you + with that. + + close-issue-message: > + Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to + re-open the issue. Thank you! + + stale-pr-label: "stale:discard" + exempt-pr-labels: "stale:keep" + stale-pr-message: > + This pull request has been automatically marked as "stale:discard". **If this pull request is still + relevant, please leave any comment** (for example, "bump"), and we'll keep it open. We are sorry that we + haven't been able to prioritize reviewing it yet. + Your contribution is very much appreciated!. + close-pr-message: > + Closing this pull request after a prolonged period of inactivity. If this issue is still relevant, please + ask for this pull request to be reopened. Thank you! diff --git a/.tool-versions b/.tool-versions index 72991d80..fe29d910 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ elixir 1.16 -erlang 26.0 \ No newline at end of file +erlang 26.0 diff --git a/LICENSE b/LICENSE index e962bb31..063f6cb9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,22 +1,22 @@ -The MIT License (MIT) +# MIT License -Copyright (c) 2015 Jason S. +Copyright (c) 2024 BEAM Community -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.