-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add yamllint to megalinter (#84)
* chore: add yamllint to megalinter * chore: update .mega-linter.yml to remove config argument * chore: replace yamllint args with config * fix: fixes yamllint rule violations * Transform rules to OSCAL [skip-ci] * Generate markdown changes [skip-ci] * Sync automatic updates * fix: removes trailing spaces Signed-off-by: Jennifer Power <[email protected]> * fix: replaces "skip-ci" with "skip ci" in transform-rules.yml --------- Signed-off-by: Jennifer Power <[email protected]> Co-authored-by: jpower432 <[email protected]> Co-authored-by: trestle-bot[bot] <trestle-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
865a021
commit bb6ea0b
Showing
15 changed files
with
64 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ updates: | |
schedule: | ||
interval: "daily" | ||
commit-message: | ||
prefix: ":arrow_up:" | ||
prefix: ":arrow_up:" |
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
- name: Generate app token | ||
uses: tibdex/[email protected] | ||
id: get_installation_token | ||
with: | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
permissions: >- | ||
|
@@ -40,4 +40,4 @@ jobs: | |
branch: ${{ inputs.branch }} | ||
file_pattern: "*.json,markdown/*" | ||
commit_user_name: "trestle-bot[bot]" | ||
commit_user_email: "136850459+trestle-bot[bot]@users.noreply.github.com" | ||
commit_user_email: "136850459+trestle-bot[bot]@users.noreply.github.com" |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Component Definitions Create | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
inputs: | ||
import_name: | ||
required: true | ||
description: Name of profile in trestle workspace to be imported into the component definition | ||
|
@@ -17,7 +17,7 @@ on: | |
filter_by_profile: | ||
required: false | ||
description: Filter the component definition control by a separate profile | ||
|
||
|
||
jobs: | ||
create-component: | ||
|
@@ -27,7 +27,7 @@ jobs: | |
- name: Generate app token | ||
uses: tibdex/[email protected] | ||
id: get_installation_token | ||
with: | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
permissions: >- | ||
|
@@ -53,4 +53,4 @@ jobs: | |
commit_message: "adds ${{ github.event.inputs.component_name }} component to ${{ github.event.inputs.output }} component definition [skip ci]" | ||
pull_request_title: "Add ${{ github.event.inputs.component_name }} component to ${{ github.event.inputs.output }} component definition" | ||
github_token: ${{ steps.get_installation_token.outputs.token }} | ||
filter_by_profile: ${{ github.event.inputs.filter_by_profile }} | ||
filter_by_profile: ${{ github.event.inputs.filter_by_profile }} |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ name: MegaLinter | |
on: | ||
push: | ||
pull_request: | ||
branches: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
- name: Generate app token | ||
uses: tibdex/[email protected] | ||
id: get_installation_token | ||
with: | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
permissions: >- | ||
|
@@ -36,7 +36,7 @@ jobs: | |
with: | ||
file_pattern: "*.json,rules/*" | ||
branch: ${{ inputs.branch }} | ||
commit_message: "Transform rules to OSCAL [skip-ci]" | ||
commit_message: "Transform rules to OSCAL [skip ci]" | ||
commit_user_name: "trestle-bot[bot]" | ||
commit_user_email: "136850459+trestle-bot[bot]@users.noreply.github.com" | ||
- name: Regenerate component definitions | ||
|
@@ -47,6 +47,6 @@ jobs: | |
file_pattern: "markdown/*" | ||
branch: ${{ inputs.branch }} | ||
skip_assemble: true | ||
commit_message: "Generate markdown changes [skip-ci]" | ||
commit_message: "Generate markdown changes [skip ci]" | ||
commit_user_name: "trestle-bot[bot]" | ||
commit_user_email: "136850459+trestle-bot[bot]@users.noreply.github.com" | ||
commit_user_email: "136850459+trestle-bot[bot]@users.noreply.github.com" |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Update upstream content | ||
|
||
on: | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
@@ -11,7 +11,7 @@ jobs: | |
- name: Generate app token | ||
uses: tibdex/[email protected] | ||
id: get_installation_token | ||
with: | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
permissions: >- | ||
|
@@ -45,3 +45,4 @@ jobs: | |
commit_message: "Generate markdown changes [skip ci]" | ||
commit_user_name: "trestle-bot[bot]" | ||
commit_user_email: "136850459+trestle-bot[bot]@users.noreply.github.com" | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extends: relaxed | ||
|
||
rules: | ||
line-length: | ||
max: 105 |
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