Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#2344)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.4](astral-sh/ruff-pre-commit@v0.5.2...v0.5.4)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ci: add missing checkout

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Guilhem Saurel <guilhem.saurel@laas.fr>
Co-authored-by: Justin Carpentier <justin.carpentier@inria.fr>
  • Loading branch information
3 people authored Jul 24, 2024
1 parent 4cb0771 commit 60f7e98
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on: [pull_request_target]
jobs:
verify_pr_labels:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Verify Pull Request Labels
uses: actions/github-script@v7
with:
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

0 comments on commit 60f7e98

Please sign in to comment.