-
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.
Merge pull request #127 from xmidt-org/add-yml-checking
Add yaml linting support to automatically be performed.
- Loading branch information
Showing
7 changed files
with
124 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
--- | ||
name: 'Automatically relase patch versions.' | ||
on: | ||
schedule: # Run every day at 12:00 UTC | ||
- cron: '0 12 * * *' | ||
workflow_dispatch: | ||
jobs: | ||
release: | ||
uses: ./.github/workflows/auto-releaser.yml | ||
name: 'Automatically relase patch versions.' | ||
|
||
on: | ||
schedule: # Run every day at 12:00 UTC | ||
- cron: '0 12 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
uses: ./.github/workflows/auto-releaser.yml |
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
# SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
--- | ||
name: 'Cleanup testing tags.' | ||
on: | ||
schedule: | ||
- cron: '52 1 * * 1' # Monday at 1:52am UTC clean everything up | ||
workflow_dispatch: | ||
jobs: | ||
remove-tags: | ||
runs-on: [ ubuntu-latest ] | ||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.PUSH_TAG_TOKEN }} | ||
- name: Search for v1.x.x or v2.x.x tags to remove | ||
shell: bash | ||
run: | | ||
mapfile -t tags< <(git tag | grep "v[12]\.") | ||
for tag in "${tags[@]}"; do | ||
echo "Removing $tag" | ||
git tag -d $tag | ||
git push origin :refs/tags/$tag | ||
done | ||
name: 'Cleanup testing tags.' | ||
|
||
on: | ||
schedule: | ||
- cron: '52 1 * * 1' # Monday at 1:52am UTC clean everything up | ||
workflow_dispatch: | ||
|
||
jobs: | ||
remove-tags: | ||
runs-on: [ ubuntu-latest ] | ||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.PUSH_TAG_TOKEN }} | ||
|
||
- name: Search for v1.x.x or v2.x.x tags to remove | ||
shell: bash | ||
run: | | ||
mapfile -t tags< <(git tag | grep "v[12]\.") | ||
for tag in "${tags[@]}"; do | ||
echo "Removing $tag" | ||
git tag -d $tag | ||
git push origin :refs/tags/$tag | ||
done |
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 |
---|---|---|
|
@@ -163,7 +163,7 @@ jobs: | |
secrets: inherit | ||
|
||
tag: | ||
needs: | ||
needs: | ||
- command | ||
- program | ||
- library | ||
|
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,33 @@ | ||
# SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
--- | ||
|
||
extends: default | ||
|
||
rules: | ||
braces: | ||
level: warning | ||
max-spaces-inside: 1 | ||
brackets: | ||
level: warning | ||
max-spaces-inside: 1 | ||
colons: | ||
level: warning | ||
max-spaces-after: -1 | ||
commas: | ||
level: warning | ||
comments: disable | ||
comments-indentation: disable | ||
document-start: disable | ||
empty-lines: | ||
level: warning | ||
hyphens: | ||
level: warning | ||
indentation: | ||
level: error | ||
indent-sequences: consistent | ||
line-length: | ||
level: warning | ||
max: 110 | ||
allow-non-breakable-inline-mappings: true | ||
truthy: disable |