Skip to content

Commit

Permalink
Maintainance PR (#340)
Browse files Browse the repository at this point in the history
* Bump sphinx-design from 0.3.0 to 0.4.1

Bumps [sphinx-design](https://github.com/executablebooks/sphinx-design) from 0.3.0 to 0.4.1.
- [Release notes](https://github.com/executablebooks/sphinx-design/releases)
- [Changelog](https://github.com/executablebooks/sphinx-design/blob/main/CHANGELOG.md)
- [Commits](executablebooks/sphinx-design@v0.3.0...v0.4.1)

---
updated-dependencies:
- dependency-name: sphinx-design
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump EndBug/add-and-commit from 9.1.1 to 9.1.3

Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 9.1.1 to 9.1.3.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Commits](EndBug/add-and-commit@v9.1.1...v9.1.3)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update conf.py

* Update conf.py

* Update conf.py

* Update requirements.txt

* Bump ablog from 0.11.2 to 0.11.4.post1

Bumps [ablog](https://github.com/abakan-zz/ablog) from 0.11.2 to 0.11.4.post1.
- [Commits](https://github.com/abakan-zz/ablog/commits)

---
updated-dependencies:
- dependency-name: ablog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: the redirects

* Update build.py

* Update build.yml

* fix: the redirects

* Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2

Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](JamesIves/github-pages-deploy-action@v4.4.1...v4.4.2)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump pylint from 2.17.2 to 2.17.4

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.17.2 to 2.17.4.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](pylint-dev/pylint@v2.17.2...v2.17.4)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump sphinx-copybutton from 0.5.1 to 0.5.2

Bumps [sphinx-copybutton](https://github.com/executablebooks/sphinx-copybutton) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/executablebooks/sphinx-copybutton/releases)
- [Changelog](https://github.com/executablebooks/sphinx-copybutton/blob/master/CHANGELOG.md)
- [Commits](executablebooks/sphinx-copybutton@v0.5.1...v0.5.2)

---
updated-dependencies:
- dependency-name: sphinx-copybutton
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump requests from 2.28.2 to 2.31.0

Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.28.2...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump pre-commit from 3.2.2 to 3.3.3

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.2.2 to 3.3.3.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.2.2...v3.3.3)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump myst-parser from 1.0.0 to 2.0.0

Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
- [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
- [Commits](executablebooks/MyST-Parser@v1.0.0...v2.0.0)

---
updated-dependencies:
- dependency-name: myst-parser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update requirements.txt

* Bump pydata-sphinx-theme from 0.9.0 to 0.13.3

Bumps [pydata-sphinx-theme](https://github.com/pydata/pydata-sphinx-theme) from 0.9.0 to 0.13.3.
- [Release notes](https://github.com/pydata/pydata-sphinx-theme/releases)
- [Commits](pydata/pydata-sphinx-theme@v0.9.0...v0.13.3)

---
updated-dependencies:
- dependency-name: pydata-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update requirements.txt

* Bump JamesIves/github-pages-deploy-action from 4.4.2 to 4.4.3

Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](JamesIves/github-pages-deploy-action@v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump pylint from 2.17.4 to 2.17.5

Bumps [pylint](https://github.com/pylint-dev/pylint) from 2.17.4 to 2.17.5.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v2.17.4...v2.17.5)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump black from 23.3.0 to 23.7.0

Bumps [black](https://github.com/psf/black) from 23.3.0 to 23.7.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.3.0...23.7.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: code snippets build time with gfortran

* Bump sphinx-sitemap from 2.5.0 to 2.5.1

Bumps [sphinx-sitemap](https://github.com/jdillard/sphinx-sitemap) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/jdillard/sphinx-sitemap/releases)
- [Changelog](https://github.com/jdillard/sphinx-sitemap/blob/master/CHANGELOG.rst)
- [Commits](jdillard/sphinx-sitemap@v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: sphinx-sitemap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump pre-commit from 3.3.3 to 3.4.0

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.3.3...v3.4.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump black from 23.7.0 to 23.9.1

Bumps [black](https://github.com/psf/black) from 23.7.0 to 23.9.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.7.0...23.9.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* refactor: fortran package

* Maintainance PR

* Maintainance PR

* fix

* fix

* fix:

* fix:

* fix:

* fix:

* fix:

* fix:

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Ehlert <[email protected]>
  • Loading branch information
3 people authored Oct 11, 2023
1 parent 1459d5f commit f565708
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout page source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
Expand Down
45 changes: 22 additions & 23 deletions .github/workflows/closePR.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,45 @@
# Github action to cleanup a PR preview
# Runs when a pull request is merged or comment contains '#delete_preview'
# Runs on dispatch or weekly schedule and deletes closed PR previews that are older than 7 days
#

name: PR Preview Cleanup

on:
issue_comment:
types: [created]

pull_request:
types:
- closed
workflow_dispatch:
schedule:
- cron: "0 3 * * 1"

jobs:
build:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true || contains(github.event.comment.body, '#delete_preview')

steps:
# Checkout existing gh-pages branch into PUBLISH_DIR
- name: Checkout gh-pages
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages

# Cleanup preview files
- name: PR Cleanup
run: rm -rf pr/${{github.event.issue.number}}

- name: Iterate and Check PRs
run: |
pr_folders=($(cd pr && ls -d */))
closed_pr=()
for pr_folder in "${pr_folders[@]}"; do
pr_status=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-X GET "https://api.github.com/repos/${{ github.repository }}/pulls/${pr_folder::-1}" \
| jq -r '.state')
echo "PR ${pr_folder::-1} is $pr_status"
if [ "$pr_status" != "open" ]; then
rm -rf "pr/${pr_folder::-1}"
closed_pr+=("${pr_folder::-1}")
echo "Removed folder pr/${pr_folder::-1} for closed PR ${pr_folder::-1}"
fi
done
- name: Commit and push to gh-pages
uses: EndBug/[email protected]
with:
committer_email: [email protected]
committer_name: Fortran
message: "Sphinx build cleanup pr/${{github.event.issue.number}}"
message: "Sphinx build cleanup pr/${closed_pr[@]}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Comment on pull request
- name: Comment on pull request
uses: peter-evans/create-or-update-comment@v3
if: contains(github.event.comment.body, '#delete_preview')
with:
issue-number: ${{github.event.issue.number}}
body: The preview build for this PR has now been deleted.
2 changes: 1 addition & 1 deletion .github/workflows/fortran_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout pr/${{github.event.issue.number}}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Fetch pr/${{github.event.issue.number}}
run: |
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Sphinx==6.2.1
Sphinx==7.2.6
ablog==0.11.4.post1
pydata-sphinx-theme==0.9.0
myst-parser==2.0.0
sphinx_design==0.4.1
sphinx_design==0.5.0
sphinx_copybutton==0.5.2
sphinx-jinja==2.0.2
jinja2==3.1.2
requests==2.31.0
black==23.7.0
black==23.9.1
pylint==2.17.5
pre-commit==3.3.3
sphinx-sitemap==2.5.0
pre-commit==3.4.0
sphinx-sitemap==2.5.1
sphinx-favicon==1.0.1

0 comments on commit f565708

Please sign in to comment.