Bump eslint from 8.47.0 to 8.48.0 (#78) #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Static Secrets' | |
# Docs => https://docs.akeyless.io/docs/create-secret | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/**/*' | |
- 'package.json' | |
- 'package-lock.json' | |
- '.github/workflows/static-secrets.yml' | |
jobs: | |
static_secret: | |
runs-on: ubuntu-latest | |
name: Fetch static secrets | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Fetch static secret from AKeyless | |
id: fetch-secrets | |
uses: ./ | |
with: | |
access-id: ${{ secrets.AKEYLESS_ACCESS_ID }} | |
static-secrets: '{"/DevTools/my-static-secret":"my_static_secret"}' | |
- name: Verify Job Outputs | |
run: echo "Your output secret is ${{ steps.fetch-secrets.outputs.my_static_secret }}" | |
- name: Verify Environment Variables | |
run: echo "Your environment secret is ${{ env.my_static_secret }}" |