Skip to content

edit-config

Actions
action for editing configuration files
v0.2.1
Latest
Star (0)

edit-config

edit-config - is console app and GitHub action for editing configuration files

Workflow examples based on edit-config

Usage

Available actions:

  • Up image version
  • Append: add value to array / concat string / add number

Up image version

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

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'

edit-config is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

action for editing configuration files
v0.2.1
Latest

edit-config is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.