Skip to content

Commit

Permalink
👷 Use Github Org CHARTS_PAT secret (#1100)
Browse files Browse the repository at this point in the history
* Instead of repo managed secret for cloning Charts, use Org secret
  • Loading branch information
rblaine95 authored Oct 9, 2024
1 parent 7997ba6 commit f9ff202
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/continuous-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ github.token }}
- name: Authenticate GitHub CLI
run: echo "${{ secrets.PAT }}" | gh auth login --with-token
run: echo "${{ secrets.CHARTS_PAT }}" | gh auth login --with-token
- name: Set branch name
id: set_branch_name
run: |
Expand All @@ -268,7 +268,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: didx-xyz/charts
token: ${{ secrets.PAT }}
token: ${{ secrets.CHARTS_PAT }}
path: tilt/.charts
ref: ${{ env.branch_name }}
- name: Start Test Harness
Expand Down Expand Up @@ -510,7 +510,7 @@ jobs:
>> "$GITHUB_ENV"
- name: Authenticate GitHub CLI
run: echo "${{ secrets.PAT }}" | gh auth login --with-token
run: echo "${{ secrets.CHARTS_PAT }}" | gh auth login --with-token

- name: Set branch name
id: set_branch_name
Expand Down Expand Up @@ -538,7 +538,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: didx-xyz/charts
token: ${{ secrets.PAT }}
token: ${{ secrets.CHARTS_PAT }}
path: charts
ref: ${{ env.branch_name }}

Expand Down Expand Up @@ -751,7 +751,7 @@ jobs:
install: true

- name: Authenticate GitHub CLI
run: echo "${{ secrets.PAT }}" | gh auth login --with-token
run: echo "${{ secrets.CHARTS_PAT }}" | gh auth login --with-token

- name: Set branch name
id: set_branch_name
Expand Down Expand Up @@ -779,7 +779,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: didx-xyz/charts
token: ${{ secrets.PAT }}
token: ${{ secrets.CHARTS_PAT }}
path: charts
ref: ${{ env.branch_name }}

Expand Down

0 comments on commit f9ff202

Please sign in to comment.