Skip to content

Commit

Permalink
Adding token for creating a PR in the DTS repo on schema updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-cohere committed May 23, 2024
1 parent 0111c9e commit 7da587c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/on_schema_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Get metadata schema changes
- name: Evaluate metadata schema changes
id: metadata-schema-changes
uses: tj-actions/changed-files@v44
with:
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
with:
commit_message: Regenerated JSONSchema bindings for credit metadata schema

- name: checkout DTS repo
- name: Check out DTS repo
if: steps.metadata-schema-changes.outputs.any_changed == 'true'
uses: actions/checkout@v4
with:
Expand All @@ -59,4 +59,4 @@ jobs:
if: steps.metadata-schema-changes.outputs.any_changed == 'true'
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT }} # https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
token: ${{ secrets.GHCR_TOKEN }}

0 comments on commit 7da587c

Please sign in to comment.