Skip to content

Commit

Permalink
feat: get token for olcs-etl checkout from new github app
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble committed Dec 16, 2024
1 parent 23f566e commit c8ade77
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/run-liquibase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,22 @@ jobs:
with:
ref: ${{ inputs.ref || github.event.inputs.ref }}

- name: Generate GitHub App Token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.VOL_GITHUB_APP_ID }}
private-key: ${{ secrets.VOL_GITHUB_APP_PRIVATE_KEY }}
owner: dvsa
repositories: olcs-etl

- name: Checkout ETL repository
uses: actions/checkout@v4
with:
repository: dvsa/olcs-etl
path: infra/docker/liquibase/changelog
ref: ${{ inputs.etl_ref || 'main' }}
token: ${{ steps.generate-token.outputs.token }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit c8ade77

Please sign in to comment.