Skip to content

Commit

Permalink
Merge pull request #37 from Bandwidth/SWI-4167
Browse files Browse the repository at this point in the history
SWI-4167 Use Vault for DX Token
  • Loading branch information
ckoegel authored Jan 2, 2024
2 parents ebd4bbc + b130b15 commit 8e3d6af
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,25 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: ${{ fromJSON(vars.SWI_GLORG_UBUNTU_2204) }}
permissions:
id-token: write
contents: read
steps:
- name: Get Github Token from Vault
uses: Bandwidth/vault-provider-action@v1
with:
export-github-pat: true

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Test with Local Files
id: generate
uses: ./
with:
branch-name: ci-cd-test
username: ${{ secrets.DX_GITHUB_USERNAME }}
token: ${{ secrets.DX_GITHUB_TOKEN }}
token: ${{ env.GITHUB_TEAM_ACCESS_TOKEN }}
openapi-generator-version: 6.5.0
language: python
api-spec-path: ./utils/bandwidth.yml
Expand Down

0 comments on commit 8e3d6af

Please sign in to comment.