5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-07 15:16:56 +00:00

Merge pull request #95 from hashicorp/readme

Update repository
This commit is contained in:
Jim Kalafut 2020-07-31 14:13:29 -07:00 committed by GitHub
commit 5fb792e09f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 31 deletions

View file

@ -141,28 +141,29 @@ jobs:
env:
OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets.outputs.otherSecret }}
publish:
if: github.event_name == 'push' && contains(github.ref, 'master')
runs-on: ubuntu-latest
needs: [build, integration, e2e]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ''
- name: setup npm cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: npm install
run: npm ci
- name: release
if: success() && endsWith(github.ref, 'master')
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# Removing publish step for now.
# publish:
# if: github.event_name == 'push' && contains(github.ref, 'master')
# runs-on: ubuntu-latest
# needs: [build, integration, e2e]
# steps:
# - uses: actions/checkout@v1
# - uses: actions/setup-node@v1
# with:
# node-version: ''
# - name: setup npm cache
# uses: actions/cache@v1
# with:
# path: ~/.npm
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
# restore-keys: |
# ${{ runner.os }}-node-
# - name: npm install
# run: npm ci
# - name: release
# if: success() && endsWith(github.ref, 'master')
# run: npx semantic-release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

2
CHANGELOG.md Normal file
View file

@ -0,0 +1,2 @@
## Unreleased

View file

@ -1,4 +1,15 @@
# vault-action
# Vault GitHub Action
---
**NOTE**
This repository was recently adopted by HashiCorp. We're actively working on adding
additional functionality to this action soon:
- [ ] TLS
- [ ] mTLS
- [ ] Simplify secret request UX
---
A helper action for easily pulling secrets from HashiCorp Vault™.
@ -34,7 +45,7 @@ jobs:
steps:
# ...
- name: Import Secrets
uses: RichiCoder1/vault-action
uses: hashicorp/vault-action
with:
url: https://vault.mycompany.com:8200
token: ${{ secrets.VaultToken }}
@ -276,7 +287,7 @@ If you need to retrieve secrets from a specific Vault namespace, all that's requ
steps:
# ...
- name: Import Secrets
uses: RichiCoder1/vault-action
uses: hashicorp/vault-action
with:
url: https://vault-enterprise.mycompany.com:8200
method: token

View file

@ -26,7 +26,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/RichiCoder1/vault-action.git"
"url": "git+https://github.com/hashicorp/vault-action.git"
},
"keywords": [
"hashicorp",
@ -36,12 +36,12 @@
"github-actions",
"javascript"
],
"author": "Richard Simpson <richardsimpson@outlook.com>",
"author": "HashiCorp",
"license": "MIT",
"bugs": {
"url": "https://github.com/RichiCoder1/vault-action/issues"
"url": "https://github.com/hashicorp/vault-action/issues"
},
"homepage": "https://github.com/RichiCoder1/vault-action#readme",
"homepage": "https://github.com/hashicorp/vault-action#readme",
"dependencies": {
"got": "^10.2.2",
"jsonata": "^1.8.2"