File tree Expand file tree Collapse file tree 6 files changed +36
-4
lines changed Expand file tree Collapse file tree 6 files changed +36
-4
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : ' github-actions'
4+ directory : ' /'
5+ schedule :
6+ # Check for updates once a week
7+ interval : ' weekly'
Original file line number Diff line number Diff line change 3434 pip-py${{ matrix.python-version }}
3535
3636 - name : upgrade pip
37- run : python -m pip install --upgrade pip setuptools wheel
37+ run : python -m pip install --upgrade pip
3838
3939 - name : install sphinx
4040 run : |
Original file line number Diff line number Diff line change 2222 key : pip-py3.8
2323 restore-keys : |
2424 pip-
25- -
uses :
pre-commit/[email protected] .0 25+ -
uses :
pre-commit/[email protected] .3
Original file line number Diff line number Diff line change 99 - cron : ' 0 0 * * *'
1010
1111jobs :
12+ detect-ci-trigger :
13+ name : detect upstream-dev ci trigger
14+ runs-on : ubuntu-latest
15+ if : |
16+ github.repository == 'xarray-contrib/sphinx-autosummary-accessors'
17+ && (github.event_name == 'push' || github.event_name == 'pull_request')
18+ outputs :
19+ triggered : ${{ steps.detect-trigger.outputs.trigger-found }}
20+ steps :
21+ - uses : actions/checkout@v2
22+ with :
23+ fetch-depth : 2
24+ -
uses :
xarray-contrib/[email protected] 25+ id : detect-trigger
26+ with :
27+ keyword : " [test-upstream]"
28+
1229 upstream-dev :
1330 name : upstream-dev
1431 runs-on : ubuntu-latest
32+ needs : detect-ci-trigger
33+
34+ if : |
35+ always()
36+ && (
37+ github.event_name == 'schedule'
38+ || needs.detect-ci-trigger.outputs.triggered == 'true'
39+ )
1540
1641 strategy :
1742 fail-fast : false
Original file line number Diff line number Diff line change 3030 - name : version info
3131 run : python -m pip list
3232 - name : autoupdate
33- uses : technote-space/create-pr-action@837dbe469b39f08d416889369a52e2a993625c84
33+ uses : technote-space/create-pr-action@bfd4392c80dbeb54e0bacbcf4750540aecae6ed4
3434 with :
3535 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3636 EXECUTE_COMMANDS : |
Original file line number Diff line number Diff line change 2424 run : |
2525 twine check dist/*
2626 - name : Publish to PyPI
27- uses : pypa/gh-action-pypi-publish@54b39fb9371c0b3a6f9f14bb8a67394defc7a806
27+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
2828 with :
2929 user : __token__
3030 password : ${{ secrets.pypi_token }}
You can’t perform that action at this time.
0 commit comments