From 65b0c24ed0d8322bc59a00be9e0079b620de462d Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:13:52 +0100 Subject: [PATCH 01/24] syntax: encapsulating strings with special char --- YML-Template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YML-Template.yml b/YML-Template.yml index 8fae63d..ea89758 100644 --- a/YML-Template.yml +++ b/YML-Template.yml @@ -34,7 +34,7 @@ Resources: - Link: Threatintelreport... Acknowledgement: - Person: John Doe - Handle: @johndoe + Handle: '@johndoe' - Person: Ola Norman - Handle: @olaNor + Handle: '@olaNor' --- From c1765618c613fb55b45e95d146c339a1fd8b42bd Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:16:42 +0100 Subject: [PATCH 02/24] Adding GitHub action for linting --- .github/workflows/yamllinting.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/yamllinting.yml diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml new file mode 100644 index 0000000..3286da3 --- /dev/null +++ b/.github/workflows/yamllinting.yml @@ -0,0 +1,21 @@ +name: Yaml Lint +on: [push] +jobs: + lintDataFiles: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 + with: + file_or_dir: yml/*.yaml + config_file: .yamllint.yml + lintTemplate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 + with: + file_or_dir: YML-Template.yaml + config_file: .yamllint.yml \ No newline at end of file From aa6e8be528bcb92b81df21ce354e36f2151e4fd8 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:19:51 +0100 Subject: [PATCH 03/24] Adding yamllint conf with warnings for whitespaces --- .yamllint.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .yamllint.yml diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000..65b93c0 --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,7 @@ +config_data: | + extends: default + rules: + new-line-at-end-of-file: + level: warning + trailing-spaces: + level: warning From a4d37e4c60a46bff82d2d2a8c4f97802726f34a0 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:22:06 +0100 Subject: [PATCH 04/24] Extension used is yml, not yaml. --- .github/workflows/yamllinting.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml index 3286da3..f1845f8 100644 --- a/.github/workflows/yamllinting.yml +++ b/.github/workflows/yamllinting.yml @@ -8,7 +8,7 @@ jobs: - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: - file_or_dir: yml/*.yaml + file_or_dir: yml/*.yml config_file: .yamllint.yml lintTemplate: runs-on: ubuntu-latest @@ -17,5 +17,5 @@ jobs: - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: - file_or_dir: YML-Template.yaml + file_or_dir: YML-Template.yml config_file: .yamllint.yml \ No newline at end of file From 4fa217f9c384275be58f19de2e298c91502d76cb Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:23:27 +0100 Subject: [PATCH 05/24] Changing matching pattern --- .github/workflows/yamllinting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml index f1845f8..0a752f9 100644 --- a/.github/workflows/yamllinting.yml +++ b/.github/workflows/yamllinting.yml @@ -8,7 +8,7 @@ jobs: - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: - file_or_dir: yml/*.yml + file_or_dir: yml/**.yml config_file: .yamllint.yml lintTemplate: runs-on: ubuntu-latest From fda371bec0a8a48106b42fb9e34521b87f1b1e43 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:28:09 +0100 Subject: [PATCH 06/24] Another pattern change --- .github/workflows/yamllinting.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml index 0a752f9..b4f5be8 100644 --- a/.github/workflows/yamllinting.yml +++ b/.github/workflows/yamllinting.yml @@ -1,21 +1,12 @@ name: Yaml Lint on: [push] jobs: - lintDataFiles: + lintFiles: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: - file_or_dir: yml/**.yml - config_file: .yamllint.yml - lintTemplate: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: yaml-lint - uses: ibiqlik/action-yamllint@v3 - with: - file_or_dir: YML-Template.yml - config_file: .yamllint.yml \ No newline at end of file + file_or_dir: yml/**/*.yml YML-Template.yml + config_file: .yamllint.yml \ No newline at end of file From a2bfd8a28dcd00896f58b38b5180b32ecccd8ab8 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:32:54 +0100 Subject: [PATCH 07/24] ugh, patterns. --- .github/workflows/yamllinting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml index b4f5be8..42eb366 100644 --- a/.github/workflows/yamllinting.yml +++ b/.github/workflows/yamllinting.yml @@ -8,5 +8,5 @@ jobs: - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: - file_or_dir: yml/**/*.yml YML-Template.yml + file_or_dir: yml/**/**/*.yml YML-Template.yml config_file: .yamllint.yml \ No newline at end of file From 487af0347d064eccea66ed0b462e295abef57a35 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:34:40 +0100 Subject: [PATCH 08/24] no more pattern. --- .github/workflows/yamllinting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml index 42eb366..b5b9e5e 100644 --- a/.github/workflows/yamllinting.yml +++ b/.github/workflows/yamllinting.yml @@ -8,5 +8,5 @@ jobs: - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: - file_or_dir: yml/**/**/*.yml YML-Template.yml + file_or_dir: . config_file: .yamllint.yml \ No newline at end of file From 75fa0cd6e39ecb7915f3a2d6c458b53d2d4b2e2f Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:36:19 +0100 Subject: [PATCH 09/24] test for pattern --- .github/workflows/yamllinting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml index b5b9e5e..471e760 100644 --- a/.github/workflows/yamllinting.yml +++ b/.github/workflows/yamllinting.yml @@ -8,5 +8,5 @@ jobs: - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: - file_or_dir: . + file_or_dir: yml/*.yml config_file: .yamllint.yml \ No newline at end of file From 85f25672a849e62c3b89fc6a7ffae04afb7ce2d1 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:56:22 +0100 Subject: [PATCH 10/24] Adding rules --- .yamllint | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .yamllint diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..29fcba4 --- /dev/null +++ b/.yamllint @@ -0,0 +1,14 @@ +--- +extends: default +yaml-files: + - '*.yml' +rules: + + new-line-at-end-of-file: + level: warning + trailing-spaces: + level: warning + line-length: + level: warning + new-lines: + level: warning From 56035a7d10959f394a4f9af734deaedde7631554 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:56:47 +0100 Subject: [PATCH 11/24] Too many whitespaces --- yml/OSScripts/pester.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yml/OSScripts/pester.yml b/yml/OSScripts/pester.yml index 56d8193..fdf3466 100644 --- a/yml/OSScripts/pester.yml +++ b/yml/OSScripts/pester.yml @@ -4,7 +4,7 @@ Description: Used as part of the Powershell pester Author: 'Oddvar Moe' Created: '2018-05-25' Commands: - - Command: Pester.bat [/help|?|-?|/?] "$null; notepad" + - Command: Pester.bat [/help|?|-?|/?] "$null; notepad" Description: Execute code using Pester. The third parameter can be anything. The fourth is the payload. Example here executes notepad Usecase: Proxy execution Category: Execute From 13901ea496ca558d86c095be96dec12f5281c4c2 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:57:01 +0100 Subject: [PATCH 12/24] Too many whitespaces --- yml/OSScripts/Manage-bde.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yml/OSScripts/Manage-bde.yml b/yml/OSScripts/Manage-bde.yml index d5a8a4d..e24480e 100644 --- a/yml/OSScripts/Manage-bde.yml +++ b/yml/OSScripts/Manage-bde.yml @@ -22,8 +22,8 @@ Commands: OperatingSystem: Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 Full_Path: - Path: C:\Windows\System32\manage-bde.wsf -Code_Sample: - - Code: +Code_Sample: + - Code: ~ Detection: - IOC: Manage-bde.wsf should normally not be invoked by a user Resources: From a232cfa007aeea984a94c1a43e024bc260564187 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:57:47 +0100 Subject: [PATCH 13/24] Too many empty lines --- yml/OSLibraries/Ieframe.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/yml/OSLibraries/Ieframe.yml b/yml/OSLibraries/Ieframe.yml index 3d9fea5..24da5c4 100644 --- a/yml/OSLibraries/Ieframe.yml +++ b/yml/OSLibraries/Ieframe.yml @@ -30,4 +30,3 @@ Acknowledgement: - Person: Adam Handle: '@hexacorn' --- - From b0a321e4c4e389d4abcbd564563e5b415f4406dc Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:58:44 +0100 Subject: [PATCH 14/24] Too many whitespaces --- yml/OSLibraries/Setupapi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yml/OSLibraries/Setupapi.yml b/yml/OSLibraries/Setupapi.yml index 85241a5..96fbd7b 100644 --- a/yml/OSLibraries/Setupapi.yml +++ b/yml/OSLibraries/Setupapi.yml @@ -37,7 +37,7 @@ Resources: Acknowledgement: - Person: Kyle Hanslovan (COM Scriptlet) Handle: '@KyleHanslovan' - - Person: Huntress Labs (COM Scriptlet) + - Person: Huntress Labs (COM Scriptlet) Handle: '@HuntressLabs' - Person: Casey Smith (COM Scriptlet) Handle: '@subTee' From ff9f5cff3d61c76ff4ff123f16aabb7704454df0 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 15:00:55 +0100 Subject: [PATCH 15/24] Removing blank lines --- yml/LOLUtilz/OSBinaries/Explorer.yml | 1 - yml/LOLUtilz/OSBinaries/Netsh.yml | 1 - yml/LOLUtilz/OSBinaries/Openwith.yml | 1 - yml/LOLUtilz/OSBinaries/Powershell.yml | 1 - yml/LOLUtilz/OSBinaries/Psr.yml | 1 - yml/LOLUtilz/OSBinaries/Robocopy.yml | 1 - yml/LOLUtilz/OtherBinaries/Upload.yml | 3 ++- 7 files changed, 2 insertions(+), 7 deletions(-) diff --git a/yml/LOLUtilz/OSBinaries/Explorer.yml b/yml/LOLUtilz/OSBinaries/Explorer.yml index 99a6348..e0e242a 100644 --- a/yml/LOLUtilz/OSBinaries/Explorer.yml +++ b/yml/LOLUtilz/OSBinaries/Explorer.yml @@ -15,4 +15,3 @@ Detection: [] Resources: - https://twitter.com/bohops/status/986984122563391488 Notes: Thanks to Jimmy - @bohops - diff --git a/yml/LOLUtilz/OSBinaries/Netsh.yml b/yml/LOLUtilz/OSBinaries/Netsh.yml index d7dd77f..9e7234c 100644 --- a/yml/LOLUtilz/OSBinaries/Netsh.yml +++ b/yml/LOLUtilz/OSBinaries/Netsh.yml @@ -23,4 +23,3 @@ Resources: - https://attack.mitre.org/wiki/Technique/T1128 - https://twitter.com/teemuluotio/status/990532938952527873 Notes: '' - diff --git a/yml/LOLUtilz/OSBinaries/Openwith.yml b/yml/LOLUtilz/OSBinaries/Openwith.yml index ae20a00..5e3e8f6 100644 --- a/yml/LOLUtilz/OSBinaries/Openwith.yml +++ b/yml/LOLUtilz/OSBinaries/Openwith.yml @@ -17,4 +17,3 @@ Detection: [] Resources: - https://twitter.com/harr0ey/status/991670870384021504 Notes: Thanks to Matt harr0ey - @harr0ey - diff --git a/yml/LOLUtilz/OSBinaries/Powershell.yml b/yml/LOLUtilz/OSBinaries/Powershell.yml index f8d44e6..5cfe767 100644 --- a/yml/LOLUtilz/OSBinaries/Powershell.yml +++ b/yml/LOLUtilz/OSBinaries/Powershell.yml @@ -15,4 +15,3 @@ Detection: [] Resources: - https://twitter.com/Moriarty_Meng/status/984380793383370752 Notes: Thanks to Moriarty - @Moriarty_Meng - diff --git a/yml/LOLUtilz/OSBinaries/Psr.yml b/yml/LOLUtilz/OSBinaries/Psr.yml index b9b9e45..3fe1f86 100644 --- a/yml/LOLUtilz/OSBinaries/Psr.yml +++ b/yml/LOLUtilz/OSBinaries/Psr.yml @@ -19,4 +19,3 @@ Detection: [] Resources: - https://www.sans.org/summit-archives/file/summit-archive-1493861893.pdf Notes: 'Thanks to ' - diff --git a/yml/LOLUtilz/OSBinaries/Robocopy.yml b/yml/LOLUtilz/OSBinaries/Robocopy.yml index 8ebb462..d2b7506 100644 --- a/yml/LOLUtilz/OSBinaries/Robocopy.yml +++ b/yml/LOLUtilz/OSBinaries/Robocopy.yml @@ -17,4 +17,3 @@ Detection: [] Resources: - https://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx Notes: Thanks to Name of guy - @twitterhandle - diff --git a/yml/LOLUtilz/OtherBinaries/Upload.yml b/yml/LOLUtilz/OtherBinaries/Upload.yml index 6cfa0a3..eaab3dd 100644 --- a/yml/LOLUtilz/OtherBinaries/Upload.yml +++ b/yml/LOLUtilz/OtherBinaries/Upload.yml @@ -3,6 +3,7 @@ Name: Update.exe Description: Binary to update the existing installed Nuget/squirrel package. Part of Whatsapp installation. Author: 'Jesus Galvez' Created: '2020-11-01' +Commands: - Command: Update.exe --processStart payload.exe --process-start-args "whatever args" Description: Copy your payload into "%localappdata%\Whatsapp\app-[version]\". Then run the command. Update.exe will execute the file you copied. Usecase: Execute binary @@ -14,5 +15,5 @@ Created: '2020-11-01' Full_Path: - Path: '%localappdata%\Whatsapp\Update.exe' Detection: - - IOC: "%localappdata%\Whatsapp\Update.exe" spawned an unknown process + - IOC: '"%localappdata%\Whatsapp\Update.exe" spawned an unknown process' --- From 29acd829681ea05a522fe1434baaae2065abe665 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 15:04:09 +0100 Subject: [PATCH 16/24] putting quotes around strings with special chars --- yml/LOLUtilz/OtherBinaries/RunCmd_X64.yml | 4 ++-- yml/LOLUtilz/OtherBinaries/aswrundll.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/yml/LOLUtilz/OtherBinaries/RunCmd_X64.yml b/yml/LOLUtilz/OtherBinaries/RunCmd_X64.yml index e458cec..c0ba77e 100644 --- a/yml/LOLUtilz/OtherBinaries/RunCmd_X64.yml +++ b/yml/LOLUtilz/OtherBinaries/RunCmd_X64.yml @@ -21,7 +21,7 @@ Detection: Resources: - Link: https://bartblaze.blogspot.com/2019/03/run-applications-and-scripts-using.html - Link: https://twitter.com/bartblaze/status/1107390776147881984 - Acknowledgement: +Acknowledgement: - Person: Bart - Handle: @bartblaze + Handle: '@bartblaze' --- diff --git a/yml/LOLUtilz/OtherBinaries/aswrundll.yml b/yml/LOLUtilz/OtherBinaries/aswrundll.yml index 72414cc..6c130b8 100644 --- a/yml/LOLUtilz/OtherBinaries/aswrundll.yml +++ b/yml/LOLUtilz/OtherBinaries/aswrundll.yml @@ -3,18 +3,18 @@ Description: This process is used by AVAST antivirus to run and execute any modu Author: Eli Salem Created: 19\03\2019 Commands: - - Command: "C:\Program Files\Avast Software\Avast\aswrundll" "C:\Users\Public\Libraries\tempsys\module.dll" + - Command: '"C:\Program Files\Avast Software\Avast\aswrundll" "C:\Users\Public\Libraries\tempsys\module.dll"' Description: Load and execute modules using aswrundll Usecase: Execute malicious modules using aswrundll.exe Category: Execute Privileges: Any OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10 Full_Path: -- Path: C:\Program Files\Avast Software\Avast\aswrundll +- Path: 'C:\Program Files\Avast Software\Avast\aswrundll' Code_Sample: -- Code: ["C:\Program Files\Avast Software\Avast\aswrundll" "C:\Users\Public\Libraries\tempsys\module.dll" "C:\Users\module.dll"] +- Code: '["C:\Program Files\Avast Software\Avast\aswrundll" "C:\Users\Public\Libraries\tempsys\module.dll" "C:\Users\module.dll"]' Resources: - Link: https://www.cybereason.com/blog/information-stealing-malware-targeting-brazil-full-research - Acknowledgement: +Acknowledgement: - Person: Eli Salem handle: https://www.linkedin.com/in/eli-salem-954728150 From 67bfb8cbfe02d5502b85e0dbabb9281525f8f7b5 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 15:05:21 +0100 Subject: [PATCH 17/24] changing yammlint to set indentations to warning --- .yamllint | 2 ++ .yamllint.yml | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 .yamllint.yml diff --git a/.yamllint b/.yamllint index 29fcba4..5580195 100644 --- a/.yamllint +++ b/.yamllint @@ -12,3 +12,5 @@ rules: level: warning new-lines: level: warning + indentation: + level: warning diff --git a/.yamllint.yml b/.yamllint.yml deleted file mode 100644 index 65b93c0..0000000 --- a/.yamllint.yml +++ /dev/null @@ -1,7 +0,0 @@ -config_data: | - extends: default - rules: - new-line-at-end-of-file: - level: warning - trailing-spaces: - level: warning From 26eeb8eb1e3b702ca96cbab2bc716e444cf82b3e Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 15:06:22 +0100 Subject: [PATCH 18/24] Setting yamllinting to config file --- .github/workflows/yamllinting.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml index 471e760..40ee364 100644 --- a/.github/workflows/yamllinting.yml +++ b/.github/workflows/yamllinting.yml @@ -1,12 +1,12 @@ +--- name: Yaml Lint on: [push] jobs: lintFiles: - runs-on: ubuntu-latest - steps: + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v1 - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: - file_or_dir: yml/*.yml - config_file: .yamllint.yml \ No newline at end of file + config_file: .yamllint From 911004a924ced0089ea2b5214600249700ae15f5 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 15:23:15 +0100 Subject: [PATCH 19/24] Testing other yamllint action --- .github/workflows/yamllint-compare.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/yamllint-compare.yml diff --git a/.github/workflows/yamllint-compare.yml b/.github/workflows/yamllint-compare.yml new file mode 100644 index 0000000..2fdccc2 --- /dev/null +++ b/.github/workflows/yamllint-compare.yml @@ -0,0 +1,17 @@ +name: 'Yamllint GitHub Actions' +on: + - pull_request +jobs: + yamllint: + name: 'Yamllint' + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@master + - name: 'Yamllint' + uses: karancode/yamllint-github-action@master + with: + yamllint_file_or_dir: '.' + yamllint_strict: false + yamllint_comment: false + yamllint_config_filepath: '.yamllint' \ No newline at end of file From 0da2e5e6879e03bfc2f4eb220222bce8e64c22d3 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 15:25:35 +0100 Subject: [PATCH 20/24] also run on push --- .github/workflows/yamllint-compare.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yamllint-compare.yml b/.github/workflows/yamllint-compare.yml index 2fdccc2..34b53d0 100644 --- a/.github/workflows/yamllint-compare.yml +++ b/.github/workflows/yamllint-compare.yml @@ -1,6 +1,6 @@ name: 'Yamllint GitHub Actions' on: - - pull_request + - push jobs: yamllint: name: 'Yamllint' From 05a6dc1ccb0c753f69e20d3cb26e98458e8c5058 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 16:21:25 +0100 Subject: [PATCH 21/24] Removing second document start. --- YML-Template.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/YML-Template.yml b/YML-Template.yml index ea89758..d5a8280 100644 --- a/YML-Template.yml +++ b/YML-Template.yml @@ -37,4 +37,3 @@ Acknowledgement: Handle: '@johndoe' - Person: Ola Norman Handle: '@olaNor' ---- From 8a31d0d1b46ad26b2deacd5cbb9992f449a842c6 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 16:40:24 +0100 Subject: [PATCH 22/24] Removing second yamllint action --- .github/workflows/yamllint-compare.yml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .github/workflows/yamllint-compare.yml diff --git a/.github/workflows/yamllint-compare.yml b/.github/workflows/yamllint-compare.yml deleted file mode 100644 index 34b53d0..0000000 --- a/.github/workflows/yamllint-compare.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: 'Yamllint GitHub Actions' -on: - - push -jobs: - yamllint: - name: 'Yamllint' - runs-on: ubuntu-latest - steps: - - name: 'Checkout' - uses: actions/checkout@master - - name: 'Yamllint' - uses: karancode/yamllint-github-action@master - with: - yamllint_file_or_dir: '.' - yamllint_strict: false - yamllint_comment: false - yamllint_config_filepath: '.yamllint' \ No newline at end of file From 3993c5f0539d58d490c98e5dae33204b3904e522 Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 16:46:24 +0100 Subject: [PATCH 23/24] removing newline --- .yamllint | 1 - 1 file changed, 1 deletion(-) diff --git a/.yamllint b/.yamllint index 5580195..10d94dd 100644 --- a/.yamllint +++ b/.yamllint @@ -3,7 +3,6 @@ extends: default yaml-files: - '*.yml' rules: - new-line-at-end-of-file: level: warning trailing-spaces: From 79cf7bfb888c56b23fad06ea6f84e57f269679cd Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 16:46:38 +0100 Subject: [PATCH 24/24] Adding pull_requests to the action list --- .github/workflows/yamllinting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml index 40ee364..2c63cc2 100644 --- a/.github/workflows/yamllinting.yml +++ b/.github/workflows/yamllinting.yml @@ -1,6 +1,6 @@ --- name: Yaml Lint -on: [push] +on: [push, pull_request] jobs: lintFiles: runs-on: ubuntu-latest