Skip to content

Commit

Permalink
Merge branch 'aeon-toolkit:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithasudhakar authored Jul 13, 2024
2 parents 85b2496 + 3a01b53 commit 8fbfeb5
Show file tree
Hide file tree
Showing 730 changed files with 76,275 additions and 36,900 deletions.
76 changes: 70 additions & 6 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
"projectOwner": "aeon-toolkit",
"repoType": "github",
"repoHost": "https://github.com",
"commitConvention": "none",
"files": [
"CONTRIBUTORS.md"
],
"imageSize": 80,
"commit": "false",
"commitConvention": "atom",
"contributorsPerLine": 8,
"contributorsSortAlphabetically": true,
"linkToUsage": true,
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg)](#contributors)",
"linkToUsage": true,
"skipCi": true,
"contributors": [
{
"login": "fkiraly",
Expand Down Expand Up @@ -168,11 +170,17 @@
"doc",
"design",
"example",
"ideas",
"infra",
"maintenance",
"mentoring",
"promotion",
"question",
"research",
"review",
"test",
"tutorial",
"review"
"talk"
]
},
{
Expand Down Expand Up @@ -2342,7 +2350,10 @@
"bug",
"code",
"doc",
"research"
"research",
"test",
"review",
"data"
]
},
{
Expand Down Expand Up @@ -2372,7 +2383,60 @@
"contributions": [
"bug"
]
},
{
"login": "wayneadams",
"name": "Wayne Adams",
"avatar_url": "https://avatars.githubusercontent.com/u/15034841?v=4",
"profile": "https://github.com/wayneadams",
"contributions": [
"doc"
]
},
{
"login": "griegner",
"name": "Gabriel Riegner",
"avatar_url": "https://avatars.githubusercontent.com/u/54326829?v=4",
"profile": "https://github.com/griegner",
"contributions": [
"doc"
]
},
{
"login": "RishavKumarSinha",
"name": "Rishav Kumar Sinha",
"avatar_url": "https://avatars.githubusercontent.com/u/136772607?s=400&v=4",
"profile": "https://github.com/RishavKumarSinha",
"contributions": [
"doc"
]
},
{
"login": "nileenagp",
"name": "nileenagp",
"avatar_url": "https://avatars.githubusercontent.com/u/48993630?v=4",
"profile": "https://github.com/nileenagp",
"contributions": [
"code"
]
},
{
"login": "jasonmokk",
"name": "Jason Mok",
"avatar_url": "https://avatars.githubusercontent.com/u/106209849?v=4",
"profile": "https://github.com/jasonmokk",
"contributions": [
"doc"
]
},
{
"login": "futuer-szd",
"name": "Futuer",
"avatar_url": "https://avatars.githubusercontent.com/u/57895730?v=4",
"profile": "https://github.com/futuer-szd",
"contributions": [
"doc"
]
}
],
"commitType": "docs"
]
}
2 changes: 2 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ ignore:
- "docs/"
- "examples/"
- "extension_templates/"
# specific files
- "aeon/registry/_tag_deprecation.py"
2 changes: 1 addition & 1 deletion .github/actions/numba_cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:

# Restore cache if restore_cache is true
- name: Restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: ${{ inputs.restore_cache == 'true' }}
with:
path: ${{ github.workspace }}/.numba_cache
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/issue_comment_edited.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Issue Comment Edited

on:
issue_comment:
types: [edited]

concurrency:
group: ${{ github.workflow }}-${{ github.event.comment.id }}
cancel-in-progress: true

jobs:
pr-welcome-edited:
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-20.04

steps:
- name: Create app token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PR_APP_ID }}
private-key: ${{ secrets.PR_APP_KEY }}

- name: Checkout main
uses: actions/checkout@v4
with:
sparse-checkout: build_tools

- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install PyGithub
run: pip install -Uq PyGithub

- name: Process comment edit
id: label_out
run: python build_tools/pr_welcome_edited.py
env:
CONTEXT_GITHUB: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

- if: ${{ steps.label_out.outputs.empty_commit == 'true' }}
name: Checkout head
uses: actions/checkout@v4
with:
repository: ${{ steps.label_out.outputs.repo }}
ref: ${{ steps.label_out.outputs.branch }}
token: ${{ steps.app-token.outputs.token }}

- if: ${{ steps.label_out.outputs.empty_commit == 'true' }}
name: Push empty commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Empty commit for CI
commit_user_name: aeon-actions-bot[bot]
commit_options: --allow-empty
create_branch: false
skip_dirty_check: true
36 changes: 36 additions & 0 deletions .github/workflows/issue_comment_posted.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Issue Comment Posted

on:
issue_comment:
types: [created]

jobs:
self-assign:
runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: build_tools

- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install PyGithub
run: pip install -Uq PyGithub

- name: Create app token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PR_APP_ID }}
private-key: ${{ secrets.PR_APP_KEY }}

- name: Assign issue
run: python build_tools/issue_assign.py
env:
CONTEXT_GITHUB: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
35 changes: 35 additions & 0 deletions .github/workflows/periodic_github_maintenace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: GitHub Maintenance

on:
schedule:
# every Monday at 01:00 AM UTC
- cron: "0 1 * * 1"
workflow_dispatch:

permissions:
issues: write
contents: write

jobs:
stale_branches:
runs-on: ubuntu-20.04

steps:
- name: Create app token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PR_APP_ID }}
private-key: ${{ secrets.PR_APP_KEY }}

- name: Stale Branches
uses: crs-k/stale-branches@v5.0.1
with:
repo-token: ${{ steps.app-token.outputs.token }}
days-before-stale: 140
days-before-delete: 175
comment-updates: true
tag-committer: true
stale-branch-label: "stale branch"
compare-branches: "info"
pr-check: true
Loading

0 comments on commit 8fbfeb5

Please sign in to comment.