Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/95gabor/argocd-helm-updater-action
https://github.com/95gabor/argocd-helm-updater-action
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/95gabor/argocd-helm-updater-action
- Owner: 95gabor
- Created: 2024-01-06T20:25:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-11T10:53:01.000Z (2 months ago)
- Last Synced: 2024-11-11T11:39:58.178Z (2 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ArgoCD Helm chart version updater GitHub Action
[![integration](https://github.com/95gabor/argocd-helm-updater-action/actions/workflows/integration.yaml/badge.svg?branch=main)](https://github.com/95gabor/argocd-helm-updater-action/actions/workflows/integration.yaml)
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-ArgoCD%20Helm%20updater-blue.svg?colorA=24292e&colorB=0366d6&style=flat&longCache=true&logo=github)](https://github.com/marketplace/actions/argocd-helm-chart-updater)## Usage
### Minimal usage
```yaml
jobs:
argo-update:
name: Argo Helm chart version updater
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4- name: Simple test
uses: 95gabor/argocd-helm-updater-action@v1
```### Scheduled usage with automated PR
```yaml
name: ArgoCD Helm chart updateron:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'jobs:
build:
permissions:
contents: write
pull-requests: writeruns-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4- uses: 95gabor/argocd-helm-updater-action@v1
with:
main_director: ./infra
recursive: true
color_logs: true- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: 'bump(helm): update chart versions'
body: 'Automatically updated Helm Chart versions'
commit-message: 'build(helm): update chart versions'
branch-suffix: timestamp
```## Action inputs
| Name | Description | Default Value |
| --- | --- | --- |
| `main_directory` | The directory where the script operates | `.` (current directory) |
| `recursive` | Perform updates recursively in subdirectories | `true` |
| `color_logs` | Enable colored logs for better visibility | `true` |
| `dry_run` | Simulate changes without modifying files | `false` |