Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #2344

Merged
merged 4 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: [pull_request_target]
jobs:
verify_pr_labels:
runs-on: ubuntu-latest

steps:
- name: Verify Pull Request Labels
uses: actions/github-script@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-linux-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
const script = require('./.github/workflows/scripts/get_label.js');
await script({github, context, core})
result-encoding: string

- name: Build Pinocchio
shell: bash -el {0}
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scripts/check_label.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = async ({github, context, core}) => {
const prNumber = ref.replace(/refs\/pull\/(\d+)\/merge/, '$1');
return parseInt(prNumber, 10);
};

const prNumber = context.issue.number || getPullRequestNumber(context.ref);

const { data } = await github.rest.pulls.get({
Expand Down Expand Up @@ -66,7 +66,7 @@ module.exports = async ({github, context, core}) => {
return;
}
else
{
{
const reviewMessage = `👋 Hi,
This is a reminder message to please assign a proper label to this Pull Request.
The possible labels are:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/get_label.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = async ({github, context, core}) => {
const prNumber = ref.replace(/refs\/pull\/(\d+)\/merge/, '$1');
return parseInt(prNumber, 10);
};

const prNumber = context.issue.number || getPullRequestNumber(context.ref);

let cmakeFlags = '';
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
doc/doxygen-awesome.*
)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
rev: v0.5.4
hooks:
- id: ruff-format
exclude: doc/
Expand Down
Loading