Skip to content

thaitype/actions-yq-secret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

actions-yq-secret

GitHub Action yq wrapper for hiding secrets

yq is a portable command-line YAML, JSON and XML processor

Usage

steps:
  - name: Get test
    id: secret
    uses: mildronize/actions-yq-secret@v1
    with:
      cmd: yq '.secret' examples/data.yml
      sensitive: true
  - run: echo "${{ steps.secret.outputs.result  }}"

Todo