Skip to content

Commit 3e3faae

Browse files
authored
Merge pull request #672 from github/dependabot/pip/dependencies-3139a54547
chore(deps): bump numpy from 2.4.1 to 2.4.2 in the dependencies group
2 parents f8b9dfe + 3f41ed8 commit 3e3faae

12 files changed

Lines changed: 29 additions & 39 deletions

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
# If you do not check out your code, Copilot will do this for you.
2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v6.0.2
29+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
with:
3131
persist-credentials: false
3232

3333
- name: Set up Python
34-
uses: actions/setup-python@v6.2.0
34+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3535
with:
3636
python-version: 3.12
3737

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v6.0.2
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
with:
1919
persist-credentials: false
2020
- name: Build the Docker image

.github/workflows/linter.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ jobs:
1818
statuses: write
1919
steps:
2020
- name: Checkout Code
21-
uses: actions/checkout@v6.0.2
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
# Full git history is needed to get a proper
2424
# list of changed files within `super-linter`
2525
fetch-depth: 0
2626
persist-credentials: false
27-
- uses: actions/setup-python@v6.2.0
27+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2828
with:
2929
python-version: "3.12"
3030
- name: Install dependencies
3131
run: |
3232
pip install -r requirements.txt -r requirements-test.txt
3333
- name: Lint Code Base
34-
uses: super-linter/super-linter@502f4fe48a81a392756e173e39a861f8c8efe056 # v8.3.0
34+
uses: super-linter/super-linter@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0
3535
env:
3636
DEFAULT_BRANCH: main
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
python-version: [3.11, 3.12]
2222

2323
steps:
24-
- uses: actions/checkout@v6.0.2
24+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525
with:
2626
persist-credentials: false
2727
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v6.2.0
28+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install dependencies

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: "Checkout code"
28-
uses: actions/checkout@v6.0.2
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929
with:
3030
persist-credentials: false
3131

@@ -36,7 +36,7 @@ jobs:
3636
results_format: sarif
3737
publish_results: true
3838
- name: "Upload artifact"
39-
uses: actions/upload-artifact@v6.0.0
39+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4040
with:
4141
name: SARIF file
4242
path: results.sarif

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
stale:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/stale@v10.1.1
14+
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
1515
with:
1616
stale-issue-message: "This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days."
1717
close-issue-message: "This issue was closed because it has been stalled for 35 days with no activity."

auth.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ def auth_to_github(
4141
elif token:
4242
github_connection = github3.login(token=token)
4343
else:
44-
raise ValueError(
45-
"GH_TOKEN or the set of [GH_APP_ID, GH_APP_INSTALLATION_ID, \
46-
GH_APP_PRIVATE_KEY] environment variables are not set"
47-
)
44+
raise ValueError("GH_TOKEN or the set of [GH_APP_ID, GH_APP_INSTALLATION_ID, \
45+
GH_APP_PRIVATE_KEY] environment variables are not set")
4846

4947
if not github_connection:
5048
raise ValueError("Unable to authenticate to GitHub")

markdown_writer.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,8 @@ def write_to_markdown(
159159
# If all the metrics are None, then there are no issues
160160
if not issues_with_metrics or len(issues_with_metrics) == 0:
161161
file.write("no issues found for the given search criteria\n\n")
162-
file.write(
163-
"\n_This report was generated with the \
164-
[Issue Metrics Action](https://github.com/github/issue-metrics)_\n"
165-
)
162+
file.write("\n_This report was generated with the \
163+
[Issue Metrics Action](https://github.com/github/issue-metrics)_\n")
166164
if search_query:
167165
file.write(f"Search query used to find these items: `{search_query}`\n")
168166
return
@@ -254,10 +252,8 @@ def write_to_markdown(
254252
file.write(f" {issue.pr_comment_count or 'N/A'} |")
255253
file.write("\n")
256254
file.write("\n")
257-
file.write(
258-
"_This report was generated with the \
259-
[Issue Metrics Action](https://github.com/github/issue-metrics)_\n"
260-
)
255+
file.write("_This report was generated with the \
256+
[Issue Metrics Action](https://github.com/github/issue-metrics)_\n")
261257
if search_query:
262258
file.write(f"Search query used to find these items: `{search_query}`\n")
263259

most_active_mentors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- should there be a limit to how many comments per PR we consider to avoid
1414
having the statistic dominated by contested PRs?
1515
- should this metric count consecutive comments coming from the same user as
16-
only one to avoid people unnessesarily splitting their comments to game the
16+
only one to avoid people unnecessarily splitting their comments to game the
1717
metric?
1818
- instead of PR comments should we count PRs on which a username was seen as
1919
commenter?

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
github3.py==4.0.1
2-
numpy==2.4.1
2+
numpy==2.4.2
33
python-dotenv==1.2.1
44
pytz==2025.2
55
requests==2.32.5

0 commit comments

Comments
 (0)