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: env:
OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets.outputs.otherSecret }} OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets.outputs.otherSecret }}
publish: # Removing publish step for now.
if: github.event_name == 'push' && contains(github.ref, 'master') # publish:
runs-on: ubuntu-latest # if: github.event_name == 'push' && contains(github.ref, 'master')
needs: [build, integration, e2e] # runs-on: ubuntu-latest
steps: # needs: [build, integration, e2e]
- uses: actions/checkout@v1 # steps:
- uses: actions/setup-node@v1 # - uses: actions/checkout@v1
with: # - uses: actions/setup-node@v1
node-version: '' # with:
- name: setup npm cache # node-version: ''
uses: actions/cache@v1 # - name: setup npm cache
with: # uses: actions/cache@v1
path: ~/.npm # with:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} # path: ~/.npm
restore-keys: | # key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
${{ runner.os }}-node- # restore-keys: |
- name: npm install # ${{ runner.os }}-node-
run: npm ci # - name: npm install
- name: release # run: npm ci
if: success() && endsWith(github.ref, 'master') # - name: release
run: npx semantic-release # if: success() && endsWith(github.ref, 'master')
env: # run: npx semantic-release
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # 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™. A helper action for easily pulling secrets from HashiCorp Vault™.
@ -34,7 +45,7 @@ jobs:
steps: steps:
# ... # ...
- name: Import Secrets - name: Import Secrets
uses: RichiCoder1/vault-action uses: hashicorp/vault-action
with: with:
url: https://vault.mycompany.com:8200 url: https://vault.mycompany.com:8200
token: ${{ secrets.VaultToken }} token: ${{ secrets.VaultToken }}
@ -276,7 +287,7 @@ If you need to retrieve secrets from a specific Vault namespace, all that's requ
steps: steps:
# ... # ...
- name: Import Secrets - name: Import Secrets
uses: RichiCoder1/vault-action uses: hashicorp/vault-action
with: with:
url: https://vault-enterprise.mycompany.com:8200 url: https://vault-enterprise.mycompany.com:8200
method: token method: token

View file

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