Skip to content

Commit 04e84fb

Browse files
authored
Merge branch 'stdlib-js:develop' into develop
2 parents 632fa6d + fcd86ae commit 04e84fb

File tree

1,019 files changed

+40048
-6267
lines changed

Some content is hidden

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

1,019 files changed

+40048
-6267
lines changed
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: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,21 @@ jobs:
4242
# Define the sequence of job steps...
4343
steps:
4444

45-
# Greet first-time contributors:
46-
- name: 'Greet first-time contributors'
45+
# Checkout the repository:
46+
- name: 'Checkout repository'
4747
# Pin action to full length commit SHA
48-
uses: actions/first-interaction@34f15e814fe48ac9312ccf29db4e74fa767cbab7 # v1.3.0
48+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949
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:
50+
# Ensure we have access to the scripts directory:
51+
sparse-checkout: |
52+
.github/workflows/scripts
53+
sparse-checkout-cone-mode: false
54+
timeout-minutes: 10
5755

58-
And thank you for opening your first pull request! We will review it shortly. :runner: :dash:
56+
# Greet first-time contributors:
57+
- name: 'Greet first-time contributors'
58+
env:
59+
ISSUE_NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }}
60+
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
61+
run: |
62+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/first_time_greeting" $ISSUE_NUMBER
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: pr_commands_comment
21+
22+
# Workflow triggers:
23+
on:
24+
# Allow the workflow to be triggered by other workflows
25+
workflow_call:
26+
# Define the input parameters for the workflow:
27+
inputs:
28+
pull_request_number:
29+
description: 'Pull request number'
30+
required: true
31+
type: number
32+
33+
# Define the secrets accessible by the workflow:
34+
secrets:
35+
STDLIB_BOT_GITHUB_TOKEN:
36+
description: 'stdlib-bot GitHub token to create pull request comments'
37+
required: true
38+
39+
# Allow the workflow to be manually triggered:
40+
workflow_dispatch:
41+
inputs:
42+
pull_request_number:
43+
description: 'Pull request number'
44+
required: true
45+
type: number
46+
47+
# Global permissions:
48+
permissions:
49+
# Allow read-only access to the repository contents:
50+
contents: read
51+
52+
# Workflow jobs:
53+
jobs:
54+
55+
# Define a job for leaving a comment on a PR with package make command instructions:
56+
pr_commands_comment:
57+
58+
# Define a display name:
59+
name: 'Leave comment with package make command instructions'
60+
61+
# Define the type of virtual host machine:
62+
runs-on: ubuntu-latest
63+
64+
# Define the sequence of job steps...
65+
steps:
66+
67+
# Leave comment with package make command instructions:
68+
- name: 'Leave comment with package make command instructions'
69+
env:
70+
PR_NUMBER: ${{ inputs.pull_request_number }}
71+
run: |
72+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/package_commands_comment" "$PR_NUMBER"
73+
timeout-minutes: 30

0 commit comments

Comments
 (0)