Skip to content

Commit

Permalink
Merge branch 'master' into mobsuccessbot/workflow-npm
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeauriach authored Mar 10, 2023
2 parents b63a6a5 + de99910 commit c6e656e
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/asana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
name: Asana

on:
merge_group:
types:
- checks_requested

pull_request:
types:
- assigned
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mobsuccess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
name: Mobsuccess Compliance

on:
merge_group:
types:
- checks_requested

pull_request:
types:
- opened
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends: relaxed

ignore:
- node_modules/**/*

rules:
line-length: disable

0 comments on commit c6e656e

Please sign in to comment.