diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9facabbe1..87c6fb93d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,6 +101,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.ref }} - name: Setup python uses: actions/setup-python@v2 if: "!endsWith(matrix.python, '-dev')" @@ -124,10 +126,11 @@ jobs: continue-on-error: true if: failure() && matrix.check_formatting == '1' && github.actor == 'dependabot[bot]' run: | + black setup.py trio git config user.name 'github-actions[bot]' git config user.email '41898282+github-actions[bot]@users.noreply.github.com' git commit -am "Autoformatter changes" - git push origin "HEAD:${GITHUB_HEAD_REF}" + git push macOS: name: 'macOS (${{ matrix.python }})' diff --git a/docs-requirements.txt b/docs-requirements.txt index 46c19380e3..ae4527f7c7 100644 --- a/docs-requirements.txt +++ b/docs-requirements.txt @@ -86,6 +86,8 @@ sphinxcontrib-serializinghtml==1.1.5 # via sphinx sphinxcontrib-trio==1.1.2 # via -r docs-requirements.in +tomli==2.0.1 + # via towncrier towncrier==22.12.0 # via -r docs-requirements.in urllib3==1.26.14 diff --git a/test-requirements.txt b/test-requirements.txt index e6d832f9d0..8676cb210a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17,7 +17,7 @@ attrs==22.2.0 # pytest backcall==0.2.0 # via ipython -black==22.12.0 ; implementation_name == "cpython" +black==23.1.0 ; implementation_name == "cpython" # via -r test-requirements.in build==0.10.0 # via pip-tools @@ -78,6 +78,7 @@ outcome==1.2.0 # via -r test-requirements.in packaging==23.0 # via + # black # build # pytest parso==0.8.3