Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ci-space/edit-config
Console app and GitHub action for editing configuration files
https://github.com/ci-space/edit-config
continuous-integration github-actions go semver-release
Last synced: about 10 hours ago
JSON representation
Console app and GitHub action for editing configuration files
- Host: GitHub
- URL: https://github.com/ci-space/edit-config
- Owner: ci-space
- Created: 2024-12-19T02:59:45.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2025-01-13T20:38:45.000Z (7 days ago)
- Last Synced: 2025-01-13T21:28:45.408Z (7 days ago)
- Topics: continuous-integration, github-actions, go, semver-release
- Language: Go
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# edit-config
edit-config - is console app and GitHub action for editing configuration files
## Workflow examples based on edit-config
- [Manual release workflow with up image version](./docs/example_release_up_image_version.md)## Usage
Available actions:
- Up image version
- Append: add value to array / concat string / add number### Up image version
```yaml
jobs:
up-image-version:
steps:
- name: Up image version
id: version
uses: ci-space/edit-config@master
with:
file: action.yaml
action: up-image-version
pointer: runs.image
value: ${{ github.event.inputs.version }}- name: Print image version
run: echo ${{ steps.version.outputs.new-version }}
```### Append value to array
```yaml
jobs:
append-value-to-array:
steps:
- name: Append value to array
uses: ci-space/edit-config@master
with:
file: users.yaml
action: append
pointer: users[0].phones
value: '123'
```