Skip to content

Commit 6dc82d7

Browse files
committed
Merge branch 'develop' into feat/factorial2f
2 parents 28419dc + 3275ec2 commit 6dc82d7

File tree

3,476 files changed

+207115
-13356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,476 files changed

+207115
-13356
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2025 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# Workflow name:
20+
name: check_duplicate_prs
21+
22+
# Workflow triggers:
23+
on:
24+
# Run the workflow daily at 3 AM UTC:
25+
schedule:
26+
- cron: '0 3 * * *'
27+
28+
# Allow the workflow to be manually run:
29+
workflow_dispatch:
30+
31+
# Global permissions:
32+
permissions:
33+
# Allow read-only access to the repository contents:
34+
contents: read
35+
36+
# Workflow jobs:
37+
jobs:
38+
39+
# Define a job for checking duplicate PRs...
40+
check_duplicates:
41+
42+
# Define a display name:
43+
name: 'Check Duplicate PRs'
44+
45+
# Ensure the job does not run on forks:
46+
if: github.repository == 'stdlib-js/stdlib'
47+
48+
# Define the type of virtual host machine:
49+
runs-on: ubuntu-latest
50+
51+
# Define the sequence of job steps...
52+
steps:
53+
# Checkout the repository:
54+
- name: 'Checkout repository'
55+
# Pin action to full length commit SHA
56+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57+
with:
58+
# Specify whether to remove untracked files before checking out the repository:
59+
clean: false
60+
61+
# Limit clone depth to the most recent commit:
62+
fetch-depth: 1
63+
64+
# Specify whether to download Git-LFS files:
65+
lfs: false
66+
timeout-minutes: 10
67+
68+
# Check for duplicate PRs:
69+
- name: 'Check for duplicate PRs'
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
72+
run: |
73+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_duplicate_prs"
74+
timeout-minutes: 15
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2025 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# Workflow name:
20+
name: check_tracking_issue_closure
21+
22+
# Workflow triggers:
23+
on:
24+
# Run on a schedule:
25+
schedule:
26+
# Run every 12 hours:
27+
- cron: '0 */12 * * *'
28+
29+
# Allow manual triggering:
30+
workflow_dispatch:
31+
inputs:
32+
debug:
33+
description: 'Enable debug output'
34+
required: false
35+
default: 'false'
36+
type: choice
37+
options:
38+
- 'true'
39+
- 'false'
40+
41+
# Workflow jobs:
42+
jobs:
43+
# Define job to check PRs for tracking issue closure:
44+
check_prs:
45+
# Define job name:
46+
name: 'Check PRs for tracking issue closure'
47+
48+
# Define job permissions:
49+
permissions:
50+
contents: read
51+
52+
# Define the type of virtual host machine:
53+
runs-on: ubuntu-latest
54+
55+
# Define the sequence of job steps:
56+
steps:
57+
# Checkout the repository:
58+
- name: 'Checkout repository'
59+
# Pin action to full length commit SHA
60+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
61+
with:
62+
# Ensure we have access to the scripts directory:
63+
sparse-checkout: |
64+
.github/workflows/scripts
65+
sparse-checkout-cone-mode: false
66+
67+
# Run the script to check PRs for tracking issue closure:
68+
- name: 'Check PRs for tracking issue closure'
69+
run: |
70+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_tracking_issue_closure" 1
71+
env:
72+
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
73+
DEBUG: ${{ inputs.debug || 'false' }}

.github/workflows/first_time_greeting.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
name: first_time_greeting
2121

2222
# Workflow triggers:
23-
on: [pull_request_target, issues]
23+
on:
24+
pull_request_target:
25+
types: [opened]
26+
issues:
27+
types: [opened]
2428

2529
# Global permissions:
2630
permissions:
@@ -42,17 +46,21 @@ jobs:
4246
# Define the sequence of job steps...
4347
steps:
4448

45-
# Greet first-time contributors:
46-
- name: 'Greet first-time contributors'
49+
# Checkout the repository:
50+
- name: 'Checkout repository'
4751
# Pin action to full length commit SHA
48-
uses: actions/first-interaction@34f15e814fe48ac9312ccf29db4e74fa767cbab7 # v1.3.0
52+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4953
with:
50-
repo-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
51-
issue-message: |
52-
:wave: Hi there! :wave:
53-
54-
And thank you for opening your first issue! We will get back to you shortly. :runner: :dash:
55-
pr-message: |
56-
:wave: Hi there! :wave:
54+
# Ensure we have access to the scripts directory:
55+
sparse-checkout: |
56+
.github/workflows/scripts
57+
sparse-checkout-cone-mode: false
58+
timeout-minutes: 10
5759

58-
And thank you for opening your first pull request! We will review it shortly. :runner: :dash:
60+
# Greet first-time contributors:
61+
- name: 'Greet first-time contributors'
62+
env:
63+
ISSUE_NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }}
64+
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
65+
run: |
66+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/first_time_greeting" $ISSUE_NUMBER

.github/workflows/git_note_amend_message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
# Import GPG key to sign commits:
121121
- name: 'Import GPG key to sign commits'
122122
# Pin action to full length commit SHA
123-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
123+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
124124
with:
125125
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
126126
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}

.github/workflows/git_note_filter_packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
# Import GPG key to sign commits:
130130
- name: 'Import GPG key to sign commits'
131131
# Pin action to full length commit SHA
132-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
132+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
133133
with:
134134
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
135135
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}

.github/workflows/lint_autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
# Import GPG key to sign commits:
162162
- name: 'Import GPG key to sign commits'
163163
# Pin action to full length commit SHA
164-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
164+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
165165
with:
166166
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
167167
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}

.github/workflows/lint_changed_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
# Cache dependencies:
7676
- name: 'Cache dependencies'
7777
# Pin action to full length commit SHA
78-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
78+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
7979
id: cache
8080
with:
8181
path: |
@@ -264,7 +264,7 @@ jobs:
264264
- name: 'Setup R'
265265
if: ( success() || failure() ) && steps.check-r-files.outputs.files != ''
266266
# Pin action to full length commit SHA
267-
uses: r-lib/actions/setup-r@14a7e741c1cb130261263aa1593718ba42cf443b # v2.11.2
267+
uses: r-lib/actions/setup-r@bd49c52ffe281809afa6f0fecbf37483c5dd0b93 # v2.11.3
268268
with:
269269
r-version: '3.5.3'
270270

.github/workflows/lint_random_files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ jobs:
423423
- name: 'Setup R'
424424
if: ( github.event.inputs.r != 'false' ) && ( success() || failure() )
425425
# Pin action to full length commit SHA
426-
uses: r-lib/actions/setup-r@14a7e741c1cb130261263aa1593718ba42cf443b # v2.11.2
426+
uses: r-lib/actions/setup-r@bd49c52ffe281809afa6f0fecbf37483c5dd0b93 # v2.11.3
427427
with:
428428
r-version: '4.3.3'
429429

@@ -579,7 +579,7 @@ jobs:
579579
- name: 'Import GPG key to sign commits'
580580
if: ${{ github.event.inputs.fix == 'true' }} && ( success() || failure() )
581581
# Pin action to full length commit SHA
582-
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
582+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
583583
with:
584584
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
585585
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}
@@ -591,7 +591,7 @@ jobs:
591591
if: ${{ github.event.inputs.fix == 'true' }} && ( success() || failure() )
592592
id: cpr
593593
# Pin action to full length commit SHA
594-
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
594+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
595595
with:
596596
title: 'style: fix lint errors'
597597
add-paths: ${{ steps.random-files.outputs.files }}

.github/workflows/linux_benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ jobs:
309309
# Send notification to Slack:
310310
- name: 'Send notification'
311311
# Pin action to full length commit SHA
312-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
312+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
313313
if: success()
314314
with:
315315
status: "${{ env.NOTIFICATION_STATUS }}"

.github/workflows/linux_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ jobs:
309309
# Send notification to Slack:
310310
- name: 'Send notification'
311311
# Pin action to full length commit SHA
312-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
312+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
313313
if: success()
314314
with:
315315
status: "${{ env.NOTIFICATION_STATUS }}"

0 commit comments

Comments
 (0)