From b9ce4625a58af63d6d42f00c381285f47ade43f7 Mon Sep 17 00:00:00 2001 From: Fabio Porcedda Date: Thu, 11 Aug 2022 15:53:25 +0200 Subject: [PATCH 1/3] github: action: enable for all branches Change-Id: I8b5e52f620c5ef2aea1d12532fefd79f830f463e --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed185a3..a7306c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,11 +4,9 @@ name: CI # Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the "master" branch + # Triggers the workflow on push or pull request events push: - branches: [ "master" ] pull_request: - branches: [ "master" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 53c11ea75a054aedb8141bded6df75b955b5e942 Mon Sep 17 00:00:00 2001 From: Fabio Porcedda Date: Thu, 11 Aug 2022 16:01:45 +0200 Subject: [PATCH 2/3] README.md: fix all markdownlint warnings Change-Id: I45d22285c00a6597b83739d4e6ed47c6b6c62beb --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 676b185..6d130ef 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,16 @@ Find the Linux versions where the commits passed as arguments are available. -When you start the tool the current directory must be a clone of the Linux stable repository: +When you start the tool the current directory must be a clone of the Linux stable +repository: -``` +```text git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git ``` E.g.: -``` +```text user@host:~$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git user@host:~$ cd linux user@host:~$ ~/linux-version-finder/linux-version-finder 22b106e5355d6e7a9c3b5cb5ed4ef22ae585ea94 @@ -19,7 +20,7 @@ v5.4.198 v5.10.121 v5.15.46 v5.17.14 v5.18.3 v5.19-rc1 or the check for multiple commits: -``` +```text user@host:~$ ~/linux-version-finder/linux-version-finder 22b106e5355d6e7a9c3b5cb5ed4ef22ae585ea94 2939e1a86f758b55cdba73e29397dd3d94df13bc v5.4.198 v5.10.121 v5.15.46 v5.17.14 v5.18.3 v5.19-rc1 ``` @@ -30,6 +31,6 @@ linux-version-finder --help ## Linux Install requirements -``` +```text pip3 install -r requirements.txt ``` From 11efec410a1d06e34cf97a55ba08c1066d6c4eec Mon Sep 17 00:00:00 2001 From: Fabio Porcedda Date: Thu, 11 Aug 2022 16:07:29 +0200 Subject: [PATCH 3/3] markdownlint: exclude check of line length in code blocks This avoid a warning in README.md when using the mdl tool. Change-Id: If386de7a5ca0288da3afd16a3afbe8dc83b6b0c7 --- .mdl.rb | 3 +++ .mdlrc | 1 + 2 files changed, 4 insertions(+) create mode 100644 .mdl.rb create mode 100644 .mdlrc diff --git a/.mdl.rb b/.mdl.rb new file mode 100644 index 0000000..6e40d51 --- /dev/null +++ b/.mdl.rb @@ -0,0 +1,3 @@ +all + +rule 'MD013', :code_blocks => false diff --git a/.mdlrc b/.mdlrc new file mode 100644 index 0000000..d068c66 --- /dev/null +++ b/.mdlrc @@ -0,0 +1 @@ +style '.mdl.rb'