Skip to content

Commit

Permalink
Merge branch 'develop' into feature/bessely1
Browse files Browse the repository at this point in the history
Signed-off-by: Shabareesh Shetty <[email protected]>
  • Loading branch information
ShabiShett07 authored Mar 3, 2025
2 parents b80da73 + befe02c commit 8e41446
Show file tree
Hide file tree
Showing 13,794 changed files with 619,811 additions and 168,175 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ indent_style = tab
[*.{f,f.txt}]
indent_style = space
indent_size = 2
insert_final_newline = false

# Set properties for shell files:
[*.{sh,sh.txt}]
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ body:
options:
- label: Read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
required: true
- label: Searched for existing issues and pull requests.
- label: Searched for existing issues and pull requests.
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

contact_links:
- name: 👩‍🏫 Frequently Asked Questions
url: https://github.com/stdlib-js/stdlib/blob/develop/FAQ.md
url: https://github.com/stdlib-js/stdlib/blob/develop/FAQ.md
about: Consult the FAQ in case we have already answered your question there.
- name: 💬 Question
url: https://gitter.im/stdlib-js/stdlib
url: https://gitter.im/stdlib-js/stdlib
about: Got a (non-bug related) question we haven't already answered? Ask us on Gitter! 🤗
- name: 👏 Support Us
url: https://github.com/stdlib-js/stdlib/blob/develop/docs/support_the_project.md
Expand Down
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ REPL:
Statistics:
- changed-files:
- any-glob-to-all-files: '**/stats/**/*'

Tools:
- changed-files:
- any-glob-to-all-files: '**/_tools/**/*'
16 changes: 8 additions & 8 deletions .github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ jobs:
- name: 'Close pull request'
run: gh pr close "$NUMBER" --comment "$BODY"
env:
GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
BODY: |
Thank you for working on this pull request. However, we cannot accept your contribution as this pull request does not follow our [contributing guidelines](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md).
Per the guidelines outlined in our [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md), you should download and setup [EditorConfig](http://editorconfig.org/) to ensure that files are automatically configured to use expected indentation and line endings.
Per the guidelines outlined in our [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md), you should download and setup [EditorConfig](http://editorconfig.org/) to ensure that files are automatically configured to use expected indentation and line endings.
If you would prefer to avoid manual setup, you could also consider using a pre-configured [development container](https://github.com/stdlib-js/stdlib/tree/develop/.devcontainer) for use locally or in GitHub Codespaces.
Expand Down Expand Up @@ -88,13 +88,13 @@ jobs:
- name: 'Close pull request'
run: gh pr close "$NUMBER" --comment "$BODY"
env:
GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
BODY: |
Thank you for working on this pull request. However, we cannot accept your contribution as this pull request does not follow our [contributing guidelines](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md).
Per the guidelines outlined in our [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md), you should have setup your local development environment such that automated development processes for linting, license verification, and unit testing can run prior to authoring commits and pushing changes. We encourage you to refer to that guide **before** continuing to work on this pull request.
Per the guidelines outlined in our [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md), you should have setup your local development environment such that automated development processes for linting, license verification, and unit testing can run prior to authoring commits and pushing changes. We encourage you to refer to that guide **before** continuing to work on this pull request.
If you would prefer to avoid manual setup, you could also consider using a pre-configured [development container](https://github.com/stdlib-js/stdlib/tree/develop/.devcontainer) for use locally or in GitHub Codespaces.
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: 'Close pull request'
run: gh pr close "$NUMBER" --comment "$BODY"
env:
GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
BODY: |
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- name: 'Close pull request'
run: gh pr close "$NUMBER" --comment "$BODY"
env:
GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
BODY: |
Expand All @@ -176,7 +176,7 @@ jobs:
- name: 'Lock conversation'
run: gh pr lock "$NUMBER" --reason spam
env:
GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}

Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
- name: 'Close pull request'
run: gh pr close "$NUMBER" --comment "$BODY"
env:
GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
BODY: |
Expand Down
79 changes: 79 additions & 0 deletions .github/workflows/check_commit_metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#/
# @license Apache-2.0
#
# Copyright (c) 2025 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/

# Workflow name:
name: check_commit_metadata

# Workflow triggers:
on:
# Trigger on pull request events:
pull_request_target:
types:
- opened

# Global permissions:
permissions:
# Allow read-only access to the repository contents:
contents: read

# Workflow jobs:
jobs:

# Define a job for checking the commit metadata for whether local development is properly setup...
check_commit_metadata:

# Define a display name:
name: 'Check Commit Metadata'

# Define the type of virtual host machine:
runs-on: ubuntu-latest

# Temporarily disable the entire workflow:
if: false

# Define the sequence of job steps...
steps:
# Checkout the repository:
- name: 'Checkout repository'
# Pin action to full length commit SHA
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Specify whether to remove untracked files before checking out the repository:
clean: true

# Limit clone depth to the most recent commit:
fetch-depth: 1

# Specify whether to download Git-LFS files:
lfs: false
timeout-minutes: 10

# Extract commit metadata from commit messages as JSON:
- name: 'Extract commit metadata'
id: extract-metadata
# Pin action to full length commit SHA
uses: stdlib-js/metadata-action@3ccf68f24c51ae23470319e8e5619d539df8212b # v3.0.0

# Check commit metadata:
- name: 'Check commit metadata'
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
COMMIT_METADATA: ${{ steps.extract-metadata.outputs.metadata }}
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
run: |
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_commit_metadata" $PR_NUMBER $COMMIT_METADATA
5 changes: 3 additions & 2 deletions .github/workflows/check_contributing_guidelines_acceptance.yml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ on:
types:
- opened
- reopened
- edited

# Global permissions:
permissions:
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
# Checkout the repository:
- name: 'Checkout repository'
# Pin action to full length commit SHA
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Specify whether to remove untracked files before checking out the repository:
clean: true
Expand All @@ -87,7 +88,7 @@ jobs:
# Check contributing guidelines acceptance:
- name: 'Check contributing guidelines acceptance'
env:
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
PR_NUMBER: ${{ github.event.pull_request.number || inputs.pull_request_number }}
run: |
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_contributing_guidelines_acceptance" $PR_NUMBER
6 changes: 3 additions & 3 deletions .github/workflows/check_licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# Checkout the repository:
- name: 'Checkout repository'
# Pin action to full length commit SHA
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Specify whether to remove untracked files before checking out the repository:
clean: false
Expand All @@ -81,7 +81,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
if: always()
with:
# Define a name for the uploaded artifact:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/check_required_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,14 @@ jobs:
# Get list of added files:
- name: 'Get list of added files'
id: added-files
env:
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
PR_NUMBER: ${{ inputs.pull_request_number }}
run: |
page=1
files=""
while true; do
new_files=$(curl -s -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer ${{ secrets.STDLIB_BOT_GITHUB_TOKEN
}}" "https://api.github.com/repos/stdlib-js/stdlib/pulls/${{ inputs.pull_request_number }}/files?page=$page&per_page=100" | jq -r '.[] | select(.status == "added") | .filename')
new_files=$(curl -s -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/stdlib-js/stdlib/pulls/$PR_NUMBER/files?page=$page&per_page=100" | jq -r '.[] | select(.status == "added") | .filename')
if [ -z "$new_files" ]; then
break
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cleanup_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
# Delete the 'pr-<number>' branch from the 'stdlib-js/www-test-code-coverage' repository:
- name: 'Delete coverage branch for PR'
env:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
curl -X DELETE -H "Authorization: token $REPO_GITHUB_TOKEN" \
Expand All @@ -55,7 +55,7 @@ jobs:
# Pin action to full length commit SHA
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
script: |
const prNumber = context.payload.pull_request.number;
const { data: comments } = await github.rest.issues.listComments({
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
# Checkout the repository:
- name: 'Checkout repository'
# Pin action to full length commit SHA
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Specify whether to remove untracked files before checking out the repository:
clean: false
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down
74 changes: 74 additions & 0 deletions .github/workflows/create_address_commit_comment_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
#/
# @license Apache-2.0
#
# Copyright (c) 2025 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/

# Workflow name:
name: create_address_commit_comment_issues

# Workflow triggers:
on:
# Run the workflow daily at midnight UTC:
schedule:
- cron: '0 0 * * *'

# Allow the workflow to be manually run:
workflow_dispatch:

# Global permissions:
permissions:
# Allow read-only access to the repository contents:
contents: read

# Workflow jobs:
jobs:

# Define a job for creating issues from commit comments...
create_issues:

# Define a display name:
name: 'Create issues from commit comments'

# Ensure the job does not run on forks:
if: github.repository == 'stdlib-js/stdlib'

# Define the type of virtual host machine:
runs-on: ubuntu-latest

# Define the sequence of job steps...
steps:
# Checkout the repository:
- name: 'Checkout repository'
# Pin action to full length commit SHA
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Specify whether to remove untracked files before checking out the repository:
clean: false

# Limit clone depth to the most recent commit:
fetch-depth: 1

# Specify whether to download Git-LFS files:
lfs: false
timeout-minutes: 10

# Create issues from commit comments:
- name: 'Create issues from commit comments'
env:
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
run: |
. "$GITHUB_WORKSPACE/.github/workflows/scripts/create_address_commit_comments_issues" 14
timeout-minutes: 15
2 changes: 1 addition & 1 deletion .github/workflows/deprecate_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# Deprecate the specified packages on npm and the respective GitHub repositories:
- name: 'Deprecate packages'
env:
GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
run: |
pkgs='${{ github.event.inputs.packages }}'
npm_names=""
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/do_not_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ jobs:

# Define job permissions:
permissions:
contents: read
pull-requests: write
pull-requests: read

# Define the type of virtual host machine:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 8e41446

Please sign in to comment.