Skip to content

Commit ca26472

Browse files
authored
Merge pull request #41 from kurtmckee/release/1.4
Release v1.4
2 parents 60a9641 + 48dfd98 commit ca26472

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

.github/workflows/create-pr.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ jobs:
352352
GH_TOKEN: "${{ github.token }}"
353353
run: |
354354
gh pr create \
355+
--draft \
355356
--head "${{ fromJSON(inputs.config).branch-name || env.default-branch-name }}" \
356357
--base "${{ fromJSON(inputs.config).pr-base || env.default-pr-base }}" \
357358
--title "${{ fromJSON(inputs.config).pr-title || env.default-pr-title }}" \

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repos:
3232
- "--py312-plus"
3333

3434
- repo: "https://github.com/psf/black-pre-commit-mirror"
35-
rev: "24.10.0"
35+
rev: "25.1.0"
3636
hooks:
3737
- id: "black"
3838

CHANGELOG.rst

+10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ in the ``changelog.d/`` directory on GitHub.
1717

1818
.. scriv-insert-here
1919
20+
.. _changelog-1.4:
21+
22+
1.4 — 2025-01-29
23+
================
24+
25+
Changed
26+
-------
27+
28+
- ``create-pr``: Open draft PRs.
29+
2030
.. _changelog-1.3:
2131

2232
1.3 — 2025-01-29

docs/create-pr.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
##################
1010

1111
This reusable workflow runs a defined tox label to create changes to files,
12-
then commits all of the changes and creates a PR.
12+
then commits all of the changes and creates a draft PR.
1313

1414
The reusable workflow takes two inputs:
1515

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "github-workflows"
3-
version = "1.3"
3+
version = "1.4"
44

55

66
# pytest

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ commands =
4444
# Update pre-commit hook versions
4545
pre-commit autoupdate
4646
upadup
47-
47+
commands_post =
4848
# Run pre-commit immediately, but ignore its exit code
4949
- pre-commit run -a
5050

0 commit comments

Comments
 (0)