From 039888b2508438b2c8d343235cfd4e7dd29f5f18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 08:09:09 +0000 Subject: [PATCH 1/5] chore(deps): bump flask from 0.12.1 to 2.2.5 in /test/examples/python Bumps [flask](https://github.com/pallets/flask) from 0.12.1 to 2.2.5. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/flask/compare/0.12.1...2.2.5) --- updated-dependencies: - dependency-name: flask dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- test/examples/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/examples/python/requirements.txt b/test/examples/python/requirements.txt index 200fdf3..72f88c1 100644 --- a/test/examples/python/requirements.txt +++ b/test/examples/python/requirements.txt @@ -1 +1 @@ -Flask==0.12.1 \ No newline at end of file +Flask==2.2.5 \ No newline at end of file From 8df73f7d23dc30ac42f8f66e4f958be4e7855fef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 08:09:12 +0000 Subject: [PATCH 2/5] chore(deps): bump actions/setup-go from 4 to 5 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e80143..c9c8ff9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.22.x - name: Run goreleaser From 400d0c70949df8ac43de6f6e5d6cf1c9ed52ed4e Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Mon, 13 May 2024 09:10:09 +0100 Subject: [PATCH 3/5] Revert "chore: temporarily remove settings.yml workflow" This reverts commit 86d013fe7549f0998e410dabc3a18de11245f964. --- .github/settings.yml | 132 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 .github/settings.yml diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..bbd1683 --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,132 @@ +repository: + # See https://developer.github.com/v3/repos/#edit for all available settings. + + # The name of the repository. Changing this will rename the repository + name: treefmt-go + + # A short description of the repository that will show up on GitHub + description: one CLI to format your repo + + # A URL with more information about the repository + homepage: "https://numtide.github.io/treefmt-go/" + + # A comma-separated list of topics to set on the repository + topics: "cli, formatter, unifies" + + # Either `true` to make the repository private, or `false` to make it public. + private: false + + # Either `true` to enable issues for this repository, `false` to disable them. + has_issues: true + + # Either `true` to enable projects for this repository, or `false` to disable them. + # If projects are disabled for the organization, passing `true` will cause an API error. + has_projects: false + + # Either `true` to enable the wiki for this repository, `false` to disable it. + has_wiki: true + + # Either `true` to enable downloads for this repository, `false` to disable them. + has_downloads: false + + # Updates the default branch for this repository. + default_branch: main + + # Either `true` to allow squash-merging pull requests, or `false` to prevent + # squash-merging. + allow_squash_merge: true + + # Either `true` to allow merging pull requests with a merge commit, or `false` + # to prevent merging pull requests with merge commits. + allow_merge_commit: true + + # Either `true` to allow rebase-merging pull requests, or `false` to prevent + # rebase-merging. + allow_rebase_merge: true + + # Either `true` to enable automatic deletion of branches on merge, or `false` to disable + delete_branch_on_merge: true + + # Either `true` to enable automated security fixes, or `false` to disable + # automated security fixes. + enable_automated_security_fixes: true + + # Either `true` to enable vulnerability alerts, or `false` to disable + # vulnerability alerts. + enable_vulnerability_alerts: true + +# Labels: define labels for Issues and Pull Requests +# +labels: +# NOTE: leave that up to the https://github.com/numtide/.github repo +# - name: bug +# color: CC0000 +# description: An issue with the system 🐛. + +# - name: feature +# # If including a `#`, make sure to wrap it with quotes! +# color: '#336699' +# description: New functionality. + +# - name: Help Wanted +# # Provide a new name to rename an existing label +# new_name: first-timers-only + +# Milestones: define milestones for Issues and Pull Requests +milestones: +# - title: milestone-title +# description: milestone-description +# # The state of the milestone. Either `open` or `closed` +# state: open + +# Collaborators: give specific users access to this repository. +# See https://docs.github.com/en/rest/reference/repos#add-a-repository-collaborator for available options +collaborators: + - username: brianmcgee + permission: admin + - username: zimbatm + permission: admin + +# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options +teams: + - name: network + # The permission to grant the team. Can be one of: + # * `pull` - can pull, but not push to or administer this repository. + # * `push` - can pull and push, but not administer this repository. + # * `admin` - can pull, push and administer this repository. + # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. + # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. + permission: maintain + +branches: + - name: main + # https://docs.github.com/en/rest/reference/repos#update-branch-protection + # Branch Protection settings. Set to null to disable + protection: + # Required. Require at least one approving review on a pull request, before merging. Set to null to disable. + required_pull_request_reviews: + # # The number of approvals required. (1-6) + # required_approving_review_count: 1 + # # Dismiss approved reviews automatically when a new commit is pushed. + # dismiss_stale_reviews: true + # # Blocks merge until code owners have reviewed. + # require_code_owner_reviews: true + # # Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories. + # dismissal_restrictions: + # users: [] + # teams: [] + # Required. Require status checks to pass before merging. Set to null to disable + required_status_checks: + # Required. Require branches to be up to date before merging. + strict: true + # Required. The list of status checks to require in order to merge into this branch + contexts: [] + # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. + enforce_admins: false + # Disabled for mergify to work + required_linear_history: false + # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. + restrictions: + apps: ["mergify"] + users: [] + teams: [] From 95bc3e8fc7966cfa14ea7e45ae5cfb6c11a19267 Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Mon, 13 May 2024 09:10:55 +0100 Subject: [PATCH 4/5] fix: update settings.yml to point to treefmt instead of treefmt-go Signed-off-by: Brian McGee --- .github/settings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index bbd1683..ebf68a5 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -2,13 +2,13 @@ repository: # See https://developer.github.com/v3/repos/#edit for all available settings. # The name of the repository. Changing this will rename the repository - name: treefmt-go + name: treefmt # A short description of the repository that will show up on GitHub description: one CLI to format your repo # A URL with more information about the repository - homepage: "https://numtide.github.io/treefmt-go/" + homepage: "https://numtide.github.io/treefmt/" # A comma-separated list of topics to set on the repository topics: "cli, formatter, unifies" From 8323ca3606df7f9b43878c7b68314e9efb783cd1 Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Mon, 13 May 2024 09:11:34 +0100 Subject: [PATCH 5/5] doc: update rust version link in readme Signed-off-by: Brian McGee --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8acc17..c51b0fe 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ Unless explicitly stated otherwise, any contribution intentionally submitted for [Brian]: https://github.com/brianmcgee [zimbatm]: https://github.com/zimbatm -[Version 1]: https://github.com/numtide/treefmt +[Version 1]: https://github.com/numtide/treefmt/tree/archive-rust [Rust]: https://www.rust-lang.org/ [Go]: https://go.dev/ [Toml]: https://toml.io/en/