Skip to content

Commit

Permalink
[chore] Prepare Abaqus 2025 (backport #5843) (#5857)
Browse files Browse the repository at this point in the history
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
  • Loading branch information
mergify[bot] and haiiliin authored Dec 7, 2024
1 parent 02029bb commit 6e3fa4f
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Here are a couple of friendly tutorials you can include: http://makeapullrequest

Working on your first Pull Request? You can learn how from this _free_ series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).

As a side note, it helps to use newcomer-friendly language throughout the rest of your document. Here are a couple of examples from [Active Admin](https://github.com/haiiliin/abqpy/blob/2024/CONTRIBUTING.md):
As a side note, it helps to use newcomer-friendly language throughout the rest of your document. Here are a couple of examples from [Active Admin](https://github.com/haiiliin/abqpy/blob/2025/CONTRIBUTING.md):

At this point, you're ready to make your changes! Feel free to ask for help; everyone is a beginner at first :smile_cat:

Expand Down
1 change: 1 addition & 0 deletions .github/keylabeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ caseSensitive: false

# Explicit keyword mappings to labels. Form of match:label. Required.
labelMappings:
"- [x] 2025": backport-to-2025
"- [x] 2024": backport-to-2024
"- [x] 2023": backport-to-2023
"- [x] 2022": backport-to-2022
Expand Down
53 changes: 51 additions & 2 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,54 @@
pull_request_rules:
- name: Backport to 2025 (auto-merge)
conditions:
- label=backport-to-2025
- label!=disable-auto-merge
- label!=disable-auto-merge-2025
actions:
backport:
title: "{{ title }} (backport #{{ number }})"
body: |
{{ body }}
This is an automatic backport of pull request #{{number}} done by [Mergify](https://mergify.com).
{{ cherry_pick_error }}
branches:
- "2025"
assignees:
- "{{ author }}"
labels:
- backport
- "2025"
- name: Backport to 2025 (disable-auto-merge)
conditions:
- label=backport-to-2025
- or:
- label=disable-auto-merge
- label=disable-auto-merge-2025
actions:
backport:
title: "{{ title }} (backport #{{ number }})"
body: |
{{ body }}
This is an automatic backport of pull request #{{number}} done by [Mergify](https://mergify.com).
{{ cherry_pick_error }}
branches:
- "2025"
assignees:
- "{{ author }}"
labels:
- backport
- "2025"
- disable-auto-merge

- name: Backport to 2024 (auto-merge)
conditions:
- label=backport-to-2024
- or:
- label=backport-to-all
- label=backport-to-2024
- label!=disable-auto-merge
- label!=disable-auto-merge-2024
actions:
Expand All @@ -22,7 +69,9 @@ pull_request_rules:
- "2024"
- name: Backport to 2024 (disable-auto-merge)
conditions:
- label=backport-to-2024
- or:
- label=backport-to-all
- label=backport-to-2024
- or:
- label=disable-auto-merge
- label=disable-auto-merge-2024
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: docs
on:
push:
branches:
- "2024"
- "2025"
paths:
- "src/**"
- "docs/source/**"
- "examples/**"
- ".github/workflows/docs.yml"
pull_request:
branches:
- "2024"
- "2025"
paths:
- "src/**"
- "docs/source/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- "2022"
- "2023"
- "2024"
- "2025"
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
Expand Down Expand Up @@ -65,6 +66,7 @@ jobs:
- "2022"
- "2023"
- "2024"
- "2025"
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
# further. For a list of options available for each theme, see the
# documentation.
READTHEDOCS = "READTHEDOCS" in os.environ
versions = ["dev"] + [str(v) for v in range(2024, 2015, -1)]
versions = ["dev"] + [str(v) for v in range(2025, 2015, -1)]
with open(os.path.join(os.path.dirname(__file__), "locale", "edit-urls.json")) as f:
edit_urls = json.load(f)
html_theme_options = {
Expand Down

0 comments on commit 6e3fa4f

Please sign in to comment.