Skip to content

Commit

Permalink
Update repo_sync.yml
Browse files Browse the repository at this point in the history
Added a PAT

Signed-off-by: Donato Coladipietro <40404846+donato-ods-devops@users.noreply.github.com>
  • Loading branch information
donato-ods-devops committed Sep 17, 2024
1 parent bcd3dd9 commit 2466797
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/repo_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ jobs:

- name: Authenticate GitHub CLI
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
echo ${{ secrets.TEMP_ONGOV_ARIES_ACAPY_PLUGINS_REPO_SYNC_PAT }} | gh auth login --with-token
- name: Debug Environment
run: |
gh auth status
gh repo view ongov/aries-acapy-plugins --json name,owner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.TEMP_ONGOV_ARIES_ACAPY_PLUGINS_REPO_SYNC_PAT }}

- name: Sync repository with the upstream
run: |
DEBUG=1 gh repo sync $REPOSITORY -b $BRANCH_NAME --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.TEMP_ONGOV_ARIES_ACAPY_PLUGINS_REPO_SYNC_PAT }}
GH_TOKEN: ${{ secrets.TEMP_ONGOV_ARIES_ACAPY_PLUGINS_REPO_SYNC_PAT }}
REPOSITORY: ${{ github.repository }}
BRANCH_NAME: "main"

Expand Down

0 comments on commit 2466797

Please sign in to comment.