-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(common): move externaly accessible workflows out of .github/work…
…flows so they can be generated in github action BREAKING CHANGE: change path of workflows DEPRECATED: flavor input option - use flavored workflow instead Merge pull request #3 from biosustain/fix_flovors_pipeline Fix flavours pipeline
- Loading branch information
Showing
21 changed files
with
45 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,6 @@ on: | |
required: false | ||
default: "{}" # Empty JSON object | ||
type: string | ||
FLAVOR: | ||
description: | | ||
You can override MegaLinter flavor used to have faster performances | ||
More info at https://megalinter.io/flavors/ | ||
required: false | ||
default: all | ||
type: string | ||
workflow_dispatch: | ||
inputs: | ||
JSON_ENV: | ||
|
@@ -26,33 +19,6 @@ on: | |
required: false | ||
default: "{}" # Empty JSON object | ||
type: string | ||
FLAVOR: | ||
description: | | ||
You can override MegaLinter flavor used to have faster performances | ||
More info at https://megalinter.io/flavors/ | ||
required: false | ||
default: all | ||
type: choice | ||
options: | ||
- all | ||
- c_cpp | ||
- ci_light | ||
- cupcake | ||
- documentation | ||
- dotnet | ||
- dotnetweb | ||
- formatters | ||
- go | ||
- java | ||
- javascript | ||
- php | ||
- python | ||
- ruby | ||
- rust | ||
- salesforce | ||
- security | ||
- swift | ||
- terraformg | ||
|
||
# Trigger the workflow also on push or pull request in this repository | ||
push: | ||
|
@@ -76,10 +42,6 @@ concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
MEGALINT_VERSION: v7.10.0 # Cannot pin this version since we use multiple flavors | ||
MEGALINT_FLAVOR: ${{ (inputs.FLAVOR && inputs.FLAVOR != 'all') && format('/flavors/{0}', inputs.FLAVOR) || '' }} | ||
|
||
jobs: | ||
check-code-quality: | ||
name: Run MegaLinter to check code quality | ||
|
@@ -115,7 +77,7 @@ jobs: | |
# MegaLinter | ||
- name: MegaLinter | ||
uses: jenseng/dynamic-uses@5175289a9a87978dcfcb9cf512b821d23b2a53eb # v1 | ||
uses: oxsecurity/[email protected] | ||
id: ml | ||
env: | ||
# All available variables are described in documentation | ||
|
@@ -137,10 +99,6 @@ jobs: | |
}} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
# You can override MegaLinter flavor used to have faster performances | ||
# More info at https://megalinter.io/flavors/ | ||
uses: oxsecurity/megalinter/flavors/${flavor}${{ env.MEGALINT_FLAVOR }}@${{ env.MEGALINT_VERSION }} | ||
|
||
# Upload MegaLinter artifacts | ||
- name: Archive production artifacts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters