Skip to content

Commit 27b5bce

Browse files
committed
Running yamlfix to fix yaml files
1 parent 8d3a9f9 commit 27b5bce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+166
-552
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
# updates:
33
# # Docker dependencies (for base image updates)
44
# - package-ecosystem: "docker"
5-
# directory: "/" # Path to Dockerfile
5+
# directory: "/" # Path to Dockerfile
66
# schedule:
7-
# interval: "weekly" # Check for updates weekly
7+
# interval: "weekly" # Check for updates weekly
88

99
# # Helm dependencies (for chart dependency updates)
1010
# - package-ecosystem: "helm"
11-
# directory: "charts/my-kubernetes-app" # Path to your Helm chart directory
11+
# directory: "charts/my-kubernetes-app" # Path to your Helm chart directory
1212
# schedule:
13-
# interval: "weekly" # Check for updates weekly
13+
# interval: "weekly" # Check for updates weekly
1414

1515
# # GitHub Actions dependencies (for updating actions versions)
1616
# - package-ecosystem: "github-actions"
17-
# directory: ".github/workflows" # Path to GitHub Actions workflows directory
17+
# directory: ".github/workflows" # Path to GitHub Actions workflows directory
1818
# schedule:
19-
# interval: "weekly" # Check for updates weekly
19+
# interval: "weekly" # Check for updates weekly

.github/labeler.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
1+
---
12
# Add 'root' label to any root file changes
23
root:
34
- changed-files:
4-
- any-glob-to-any-file: "*"
5-
5+
- any-glob-to-any-file: '*'
66
# Add 'AnyChange' label to any changes within the entire repository
77
AnyChange:
88
- changed-files:
9-
- any-glob-to-any-file: "**"
10-
9+
- any-glob-to-any-file: '**'
1110
# Add 'Documentation' label to any relevant changes
1211
Documentation:
1312
- changed-files:
14-
- any-glob-to-any-file: "docs/**"
15-
- any-glob-to-any-file: "docs/*"
16-
- any-glob-to-any-file: "guides/*"
17-
- any-glob-to-any-file: "**/*.md"
18-
13+
- any-glob-to-any-file: docs/**
14+
- any-glob-to-any-file: docs/*
15+
- any-glob-to-any-file: guides/*
16+
- any-glob-to-any-file: '**/*.md'
1917
# Add 'source' label to any change to src files (excluding docs)
2018
source:
2119
- changed-files:
22-
- any-glob-to-any-file: "src/**/*"
23-
- all-globs-to-all-files: "!src/docs/*"
24-
20+
- any-glob-to-any-file: src/**/*
21+
- all-globs-to-all-files: '!src/docs/*'
2522
# Add 'feature' label to PRs where the branch name starts with or contains 'feature'
2623
feature:
27-
- head-branch: "^feature"
28-
- head-branch: "feature"
29-
24+
- head-branch: ^feature
25+
- head-branch: feature
3026
# Add 'release' label to PRs opened against the main branch
3127
release:
32-
- base-branch: "main"
28+
- base-branch: main

.github/workflows/Apply Labels to Pull Request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
---
12
name: Apply Labels to Pull Request
23
on:
34
pull_request_target:
45
types: [opened, edited, synchronize]
5-
66
jobs:
77
apply-labels-to-pull-request:
88
name: Apply Labels to Pull Request
@@ -17,5 +17,5 @@ jobs:
1717
- name: Apply Labels Based on PR Changes
1818
uses: actions/labeler@v5
1919
with:
20-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
20+
repo-token: ${{ secrets.GITHUB_TOKEN }}
2121
configuration-path: .github/labeler.yml
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1+
---
12
name: ArgoCD Linting & Sync Check
2-
33
# on: [push, pull_request]
4-
54
on:
65
workflow_dispatch:
7-
86
jobs:
97
argocd-lint-and-sync-check:
108
runs-on: ubuntu-latest
@@ -13,8 +11,7 @@ jobs:
1311
steps:
1412
- name: Checkout Code
1513
uses: actions/checkout@v4
16-
1714
- name: Lint ArgoCD Application YAML
18-
run: |
15+
run: |-
1916
echo "Linting ArgoCD Application manifest..."
2017
kubectl apply --dry-run=client --validate=true -f k8s/application/dev.yaml

.github/workflows/Auto Assign Issue.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Auto Assign Issue
23
on:
34
issues:
@@ -11,7 +12,7 @@ jobs:
1112
issues: write
1213
pull-requests: write
1314
steps:
14-
- name: "Auto-assign issue"
15+
- name: Auto-assign issue
1516
uses: pozil/auto-assign-issue@v1
1617
with:
1718
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/Automated Version Bump and Changelog.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,50 @@
1+
---
12
name: Automated Version Bump and Changelog
2-
33
on:
44
push:
55
branches: [main]
6-
paths-ignore:
7-
- "README.md"
8-
- "docs/**"
9-
- ".github/**"
10-
6+
paths-ignore: [README.md, docs/**, .github/**]
117
permissions:
12-
contents: write # ✅ allow tag pushes and commits
13-
8+
contents: write # ✅ allow tag pushes and commits
149
jobs:
1510
bump-version:
1611
runs-on: ubuntu-latest
17-
1812
steps:
1913
- name: Checkout repo
2014
uses: actions/checkout@v4
2115
with:
22-
fetch-depth: 0 # Needed for tags and full history
23-
16+
fetch-depth: 0 # Needed for tags and full history
2417
- name: Set up Python
2518
uses: actions/setup-python@v5
2619
with:
27-
python-version: "3.13"
28-
20+
python-version: '3.13'
2921
- name: Install tools
3022
run: |
3123
pip install bump-my-version
3224
sudo apt-get update
3325
sudo apt-get install -y git
34-
3526
- name: Configure Git
3627
run: |
3728
git config user.name "github-actions[bot]"
3829
git config user.email "github-actions[bot]@users.noreply.github.com"
3930
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
40-
4131
- name: Ensure initial tag exists
4232
run: |
4333
if ! git describe --tags --abbrev=0 >/dev/null 2>&1; then
4434
git tag v0.0.0
4535
git push --tags
4636
fi
47-
4837
- name: Get latest tag
4938
id: latest_tag
5039
run: |
5140
echo "tag=$(git describe --tags --abbrev=0 || echo 'v0.0.0')" >> $GITHUB_OUTPUT
52-
5341
- name: Generate changelog
5442
run: |
5543
echo "## Changelog" > CHANGELOG.md
5644
echo "" >> CHANGELOG.md
5745
git log ${{ steps.latest_tag.outputs.tag }}..HEAD --pretty=format:"- %s (%an)" >> CHANGELOG.md
58-
5946
- name: Bump patch version
60-
run: |
47+
run: |-
6148
bump-my-version bump patch --verbose
6249
git add CHANGELOG.md
6350
git commit -m "bump: patch version + changelog [skip ci]" || echo "No changes to commit"
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
1+
---
12
name: Bandit Security Scan
2-
33
on: [push, pull_request]
4-
54
jobs:
65
bandit-security-scan:
76
runs-on: ubuntu-latest
87
permissions:
98
contents: read
10-
119
steps:
1210
- name: Checkout code
1311
uses: actions/checkout@v4
14-
1512
- name: Set up Python
1613
uses: actions/setup-python@v5
1714
with:
18-
python-version: "3.13"
19-
15+
python-version: '3.13'
2016
- name: Install dependencies
2117
run: |
2218
python -m pip install --upgrade pip
2319
pip install bandit safety
24-
2520
- name: Run Bandit (code security)
2621
run: bandit .
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
1+
---
12
name: Build and Push Docker Image
2-
33
on:
44
push:
55
branches: [main]
66
workflow_dispatch:
7-
87
permissions:
98
contents: read
109
packages: write
11-
1210
jobs:
1311
build-and-push-docker-image:
1412
runs-on: ubuntu-latest
1513
steps:
1614
- uses: actions/checkout@v4
17-
1815
- name: Log in to GitHub Container Registry
19-
run:
20-
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{
21-
github.actor }} --password-stdin
22-
16+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u github.actor
17+
}} --password-stdin
2318
- name: Build and push
24-
run: |
19+
run: |-
2520
docker build -t ghcr.io/${{ github.repository }}:latest .
2621
docker push ghcr.io/${{ github.repository }}:latest

.github/workflows/Check Outdated Dependencies.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
---
12
name: Check Outdated Dependencies
23
on:
34
schedule:
4-
- cron: "0 0 * * 1" # Runs every Monday
5-
5+
- cron: 0 0 * * 1 # Runs every Monday
66
jobs:
77
check-outdated-dependencies:
88
runs-on: ubuntu-latest
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.x"
15+
python-version: 3.x
1616
- name: Install Pip Tools
1717
run: pip install pip-review
1818
- name: Check Outdated Packages

.github/workflows/Cleanup Artifacts.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
---
12
name: Cleanup Artifacts
2-
33
on:
44
schedule:
5-
- cron: "0 0 * * 0" # Every Sunday
5+
- cron: 0 0 * * 0 # Every Sunday
66
workflow_dispatch:
7-
87
jobs:
98
cleanup-artifacts:
109
runs-on: ubuntu-latest
@@ -14,7 +13,7 @@ jobs:
1413
- name: Delete Old Artifacts
1514
env:
1615
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
run: |
16+
run: |-
1817
echo "Deleting old artifacts..."
1918
for artifact_id in $(curl -s -H "Authorization: token $GITHUB_TOKEN" \
2019
"https://api.github.com/repos/${{ github.repository }}/actions/artifacts" \

0 commit comments

Comments
 (0)