72 Commits

Author SHA1 Message Date
Ben Cos
029029e9a5
Add missing dependency in label pattern exhaustiveness check (#6589) 2025-08-01 04:59:48 +02:00
Jakub Kuczys
0f4c7b0fe6
Bump deps (including d.py 2.5 bump) (#6529)
Co-authored-by: Kowlin <10947836+Kowlin@users.noreply.github.com>
2025-03-04 23:38:37 +01:00
Kowlin
22888f8014
Bump actions to V4 (#6504) 2025-01-07 20:41:17 +00:00
Jakub Kuczys
8ad9c55d50
Bump dependencies and update OS matrix (#6492) 2024-12-24 19:54:56 +01:00
Jakub Kuczys
907a3f7561
Split out non-Python assets in Publish Release workflow (#6440) 2024-08-28 15:47:35 +02:00
Jakub Kuczys
88b11f2b9c
Add missing perm to Publish Release workflow 2024-08-27 02:00:13 +02:00
Jakub Kuczys
9ca0ced2d8
Fix publish release workflow 2024-08-27 01:54:47 +02:00
Jakub Kuczys
90691ba2b9
Generate default LL server config and attach it to GH release (#6430) 2024-08-26 19:34:37 +02:00
Jakub Kuczys
2e40ec4a1a
Use PEP 508's req @ url syntax instead of deprecated egg fragments (#6408) 2024-07-12 18:08:43 +02:00
Jakub Kuczys
24cc3115fe
Fix missing Crowdin CLI bump for Prepare Release workflow (#6316) 2024-03-22 01:42:49 +01:00
Jakub Kuczys
bc76d53cd5
Update Crowdin CLI to v3 (#6313) 2024-03-21 23:14:46 +01:00
Jakub Kuczys
273ad147c8
Bump dependencies (#6312) 2024-03-21 19:28:21 +01:00
Jakub Kuczys
9ef4271afa
Use more restrictive tag pattern in publish release workflow (#6242) 2023-08-26 21:02:49 +02:00
Jakub Kuczys
3abf4cac05
Use backtracking resolver in pip-compile (#6184) 2023-06-12 19:08:27 +02:00
Jakub Kuczys
e2737a08d2
Stop manually adding category to automated PRs (#6089) 2023-04-20 15:43:36 +02:00
Jakub Kuczys
f48f0bd1d1
Fix wrong extract location in Publish Release workflow (#6029) 2023-04-19 03:30:52 +02:00
Jakub Kuczys
64c72e79b5
Switch the Publish Release workflow to use OpenID Connect (#6012) 2023-04-16 22:53:27 +02:00
Jakub Kuczys
6c32ff58e4
Revamp of automatically applied PR labels (#5954)
Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com>
2023-02-12 23:34:00 +01:00
Jakub Kuczys
519acedf46
Make some dependency changes, support Python 3.10 and 3.11 (#5611)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2022-12-30 03:21:57 +01:00
Jakub Kuczys
f7c14b4321
Modernize packaging-related things in Red (#5924) 2022-12-09 18:50:37 +01:00
Jakub Kuczys
4574f13ad5
Fix flaky CI caused by flake8's flakiness (GitHub migration) (#5910) 2022-11-17 19:58:24 +01:00
Jakub Kuczys
0f20f15c26
Stop using deprecated set-output GH Actions command (#5876) 2022-11-11 15:12:54 +01:00
Jakub Kuczys
a3de616e4d
Properly handle missing schemas/tables in PostgreSQL driver (#5855) 2022-10-13 13:38:43 +02:00
Flame442
febc503df1
Update workflow versions (#5789)
* Update auto_labeler_issues.yml

* Update auto_labeler_pr.yml

* Update codeql-analysis.yml

* Update crowdin_upload_strings.yml

* Update lint_python.yaml

* Update prepare_release.yml

* Update publish_release.yml

* Update tests.yml

* Update for breaking change in actions/github-script@v5

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2022-06-27 17:16:11 +02:00
jack1142
bc9f34c04b
Fix invalid version error with _get_version()-provided version (#5670)
* Make sure that the repository we check is in the location we expect

* Merge `redbot._version` into `redbot`

* Generate VersionInfo in _get_version()

This way, if VersionInfo.from_str() generates exception due to invalid
version, we catch it.
2022-04-05 16:48:03 -06:00
jack1142
35f1681dc1
Include tag distance and commit hash in dev versions when possible (#5664)
* Include tag distance and commit hash in dev versions when possible

* Fix test
2022-04-02 19:51:34 -06:00
jack1142
a6590b0380
Update redgettext to version 3.4.2 (#5584) 2022-02-21 15:21:59 +00:00
jack1142
50f3168b14
Update redgettext to version 3.4.1 (#5583) 2022-02-21 15:10:58 +00:00
jack1142
299a537f84
Update redgettext to version 3.4 (#5582) 2022-02-21 15:56:33 +01:00
jack1142
f071ec09e2
Try to fix base branch in Publish Release workflow *again* (#5340) 2021-11-02 13:02:01 +01:00
Rasmus Wriedt Larsen
42293afd43
Fix CodeQL workflow (#5412)
The new pip 21.3 (released 2021-10-11) uses in-tree builds when `pip install .` is used (see [release notes](https://pip.pypa.io/en/stable/news/#v21-3) and [implementation PR](https://github.com/pypa/pip/pull/10495)). This means CodeQL will see all files twice (once in the real location that is part of this repository, and one in the copy in the `build/` dir), which trips up the analysis.

When an editable install is used instead with `pip install -e .`, there is no `build/` dir, so the analysis will work again.
2021-10-20 16:50:01 +02:00
jack1142
2c8c97490b
Maybe fix the base branch used in dev bump automation (#5307) 2021-09-23 17:56:33 +02:00
palmtree5
3254698c78
Update deps, allow Python 3.9, drop Fedora 32 (#5121)
* Update deps + allow Python 3.9

* Add in updates from Jack's branch

* Fix multiple target for cross-reference warnings

* Update a few more Python 3.8 occurrences

* Bump further

* Don't install tox in CodeQL environment

* Bump Python version in docs to 3.9.7

* more bumps

* Add missing pin

* Stop using the deprecated distro.linux_distribution()

* Suppress deprecation warning

* Fix OpenSUSE Leap instructions

* Drop Fedora 32

* Add Python 3.10-dev to CI

* meh

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2021-09-06 18:43:29 +02:00
jack1142
80e7a70f9e
Fix base branch used for PyPI release? (#5212) 2021-08-13 04:08:39 +02:00
jack1142
ec26687e9e
Improve release correctness and safety by using GH Environments (#5167)
* Improve release safety by using GH Environments

* Exit early when just returning version
2021-06-30 17:24:18 +02:00
jack1142
1471ead0ce
With each release we're getting one step closer... (#5090) 2021-05-28 20:44:58 +02:00
jack1142
01561fbe07
Fix permissions for CodeQL workflow (#5009) 2021-04-22 20:00:24 +00:00
jack1142
336abcfbba
Update workflows with needed permissions (#5003) 2021-04-20 18:43:18 +02:00
jack1142
aea0db4ef6
Include more files in distributions (#4964)
* Include LICENSE files in distributions

* Use pep517 isolated builds

* Update the GH Actions workflow
2021-04-08 02:35:47 +02:00
jack1142
1c7b1e0358
Fix dev bump in Publish Release workflow (#4952)
* Fix dev bump in Publish Release workflow

* I made a PR from the wrong branch...
2021-04-06 19:19:31 +02:00
jack1142
6a99becdb2
Update publish_release.yml 2021-04-06 03:57:06 +02:00
jack1142
fa25033be1
Fix dev bump in Publish Release workflow (#4948) 2021-04-06 03:22:01 +02:00
jack1142
53c069a636
Auto-put PRs from release workflows in the proper milestone + minor things (#4862)
* Make workflow name use TitleCase

* Indicate in the PR description that it's a multi-part workflow

* Auto-put PRs from Prepare Release workflow in the proper milestone

* Rename "Publish the release" workflow to "Publish Release"

* Auto-put PR from Publish Release workflow in the proper milestone
2021-02-27 11:22:54 +01:00
jack1142
d3b448d50c
Fix publish_release workflow (#4858) 2021-02-26 19:04:36 +00:00
jack1142
f926fab431
Fix prepare_release workflow (#4855) 2021-02-26 18:43:00 +00:00
jack1142
f476b842d5
Work around actions/labeler's upstream issue with label sync setting (#4844)
* Work around `actions/labeler`'s upstream issue with label sync setting

* Add comment about this being a workaround
2021-02-23 14:57:34 +01:00
jack1142
c5fbf5fb94
Change things up with Crowdin and release-related workflows (#4833)
* Alternative way of doing Crowdin...

* Limit the upload translations workflow to V3/develop

* Make the workflow close and reopen the PR automatically while I'm at it

* Add a workflow for preparing PRs for release

* Make the crowdin env vars local to the step requiring them

* Move dev bump to Publish Release workflow
2021-02-18 14:43:21 +01:00
jack1142
ae87aa396a
Bump Red's deps and all the pip deps used in our Actions (#4572)
* Bump Red's deps

* Bump deps in all our actions

* Don't bump flake8 in Lint Python action

* Bump apsw-wheels too
2021-02-11 02:40:36 +01:00
jack1142
19711d35b2
Update actions/labeler to use v3 version (#4730) 2021-01-13 04:16:07 +01:00
Kowlin
beedc6d2c7
[CI/meta] Add automatic labeling of changed files. (#4674)
* Theoretically this should work!

* Update .github/labeler.yml

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

* Update .github/labeler.yml

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

* Update .github/labeler.yml

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

* Update .github/labeler.yml

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

* Update .github/labeler.yml

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

* Update .github/labeler.yml

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

* *ughhh*

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2021-01-07 18:09:14 +01:00