mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-07 07:06:56 +00:00
* chore: update jira teams and add actionlint * update local test to workflow_dispatch * define outputs * try actionlint's skip_outputs setting * move skip_outputs to action definition in tests * move skip_outpus to action.yml * remove skip_outputs * move outputs * call actionlint directly to pass args * try to fix quoting * truncate ignore * try escaping * add comment
28 lines
846 B
YAML
28 lines
846 B
YAML
# This is a sample workflow to help test contributions
|
|
# Change the branch name, url and token to fit with your own environment
|
|
|
|
# To run this locally with act use:
|
|
# act workflow_dispatch -j local-test
|
|
#
|
|
# If you have permissions, you can run this workflow via the GitHub UI.
|
|
# Otherwise, use 'on: push' instead of 'on: workflow_dispatch'.
|
|
|
|
# Don't forget to revert the file changes and invalidate any tokens that were
|
|
# committed before opening a pull request.
|
|
on: workflow_dispatch
|
|
|
|
name: local-test
|
|
|
|
jobs:
|
|
local-test:
|
|
name: local-test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Import Secrets
|
|
uses: hashicorp/vault-action@YOUR_BRANCH_NAME
|
|
with:
|
|
url: http://localhost:8200
|
|
method: token
|
|
token: testtoken
|
|
secrets: |
|
|
secret/data/test secret | SAMPLE_SECRET;
|