From d6bd0ed59dbbd7c5c45098c18932c6cb30d6a952 Mon Sep 17 00:00:00 2001
From: mobsuccessbot <82460764+ms-bot@users.noreply.github.com>
Date: Fri, 10 Mar 2023 10:54:43 +0100
Subject: [PATCH 1/3] Update mobsuccess.yml GitHub workflow (#59)
---
.github/workflows/mobsuccess.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/mobsuccess.yml b/.github/workflows/mobsuccess.yml
index b94b3d630..b98d4d32f 100644
--- a/.github/workflows/mobsuccess.yml
+++ b/.github/workflows/mobsuccess.yml
@@ -5,6 +5,10 @@
name: Mobsuccess Compliance
on:
+ merge_group:
+ types:
+ - checks_requested
+
pull_request:
types:
- opened
From f5afbb9d2ff73cee17bf8ef20e3f8f7d77271702 Mon Sep 17 00:00:00 2001
From: mobsuccessbot <82460764+ms-bot@users.noreply.github.com>
Date: Fri, 10 Mar 2023 10:55:51 +0100
Subject: [PATCH 2/3] Update asana.yml GitHub workflow (#58)
Co-authored-by: Philippe Auriach
---
.github/workflows/asana.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/asana.yml b/.github/workflows/asana.yml
index 145bcbefe..3f6c4b8e4 100644
--- a/.github/workflows/asana.yml
+++ b/.github/workflows/asana.yml
@@ -5,6 +5,10 @@
name: Asana
on:
+ merge_group:
+ types:
+ - checks_requested
+
pull_request:
types:
- assigned
From de9991054015bd457eb437b0c700d9682fd12f09 Mon Sep 17 00:00:00 2001
From: mobsuccessbot <82460764+ms-bot@users.noreply.github.com>
Date: Fri, 10 Mar 2023 11:04:18 +0100
Subject: [PATCH 3/3] Add yamllint.yml GitHub workflow (#42)
* Add yamllint.yml GitHub workflow
* ignore node modules in yamllint
---------
Co-authored-by: Philippe Auriach
---
.github/workflows/yamllint.yml | 32 ++++++++++++++++++++++++++++++++
.yamllint.yml | 7 +++++++
2 files changed, 39 insertions(+)
create mode 100644 .github/workflows/yamllint.yml
create mode 100644 .yamllint.yml
diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml
new file mode 100644
index 000000000..7d6b77121
--- /dev/null
+++ b/.github/workflows/yamllint.yml
@@ -0,0 +1,32 @@
+# DO NOT EDIT: BEGIN
+# This snippet has been inserted automatically by mobsuccessbot, do not edit!
+# If changes are needed, update the action yamllint in
+# https://github.com/mobsuccess-devops/github-mobsuccess-policy
+name: Validate-YAML
+
+on:
+ merge_group:
+ types:
+ - checks_requested
+ push:
+ branches: [master, preprod, prod]
+ pull_request:
+ types: [opened, synchronize, reopened]
+
+jobs:
+ validate-yaml:
+ name: Validate YAML files
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Validate YAML files
+ run: |
+ if [ -f .yamllint.yml ]; then
+ yamllint -c .yamllint.yml .
+ elif [ -f .gitignore ]; then
+ yamllint -d "{extends: relaxed, ignore-from-file: [.gitignore], rules: {line-length: disable}}" .
+ else
+ yamllint -d "{extends: relaxed, rules: {line-length: disable}}" .
+ fi
+
+# DO NOT EDIT: END
diff --git a/.yamllint.yml b/.yamllint.yml
new file mode 100644
index 000000000..1e4c05af8
--- /dev/null
+++ b/.yamllint.yml
@@ -0,0 +1,7 @@
+extends: relaxed
+
+ignore:
+ - node_modules/**/*
+
+rules:
+ line-length: disable