https://github.com/mildronize/actions-yq-secret
GitHub Action yq wrapper for hiding secrets
https://github.com/mildronize/actions-yq-secret
Last synced: about 1 year ago
JSON representation
GitHub Action yq wrapper for hiding secrets
- Host: GitHub
- URL: https://github.com/mildronize/actions-yq-secret
- Owner: mildronize
- Created: 2022-04-11T04:13:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T13:59:11.000Z (over 2 years ago)
- Last Synced: 2025-01-23T10:15:50.239Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# actions-yq-secret
GitHub Action yq wrapper for hiding secrets
yq is a portable command-line YAML, JSON and XML processor
## Usage
- Main Repo: https://github.com/mikefarah/yq/
- yq documentation: https://mikefarah.gitbook.io/yq/
```yml
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
- [ ] Create a Pull Request to [mikefarah/yq](https://github.com/mikefarah/yq/)