diff --git a/.mokogitea/workflows/sync-version-on-merge.yml b/.mokogitea/workflows/sync-version-on-merge.yml index 3a21acc..51cc422 100644 --- a/.mokogitea/workflows/sync-version-on-merge.yml +++ b/.mokogitea/workflows/sync-version-on-merge.yml @@ -44,7 +44,7 @@ jobs: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: - token: ${{ secrets.GH_TOKEN || github.token }} + token: ${{ secrets.GH_MIRROR_TOKEN || github.token }} fetch-depth: 0 - name: Set up PHP @@ -55,8 +55,8 @@ jobs: - name: Setup MokoStandards tools env: - GH_TOKEN: ${{ secrets.GH_TOKEN || github.token }} - COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GH_TOKEN || github.token }}"}}' + GH_TOKEN: ${{ secrets.GH_MIRROR_TOKEN || github.token }} + COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GH_MIRROR_TOKEN || github.token }}"}}' run: | git clone --depth 1 --branch version/04 --quiet \ "https://x-access-token:${GH_TOKEN}@github.com/mokoconsulting-tech/MokoStandards.git" \ @@ -106,7 +106,7 @@ jobs: --create-issue \ --repo "${{ github.repository }}" env: - GH_TOKEN: ${{ secrets.GH_TOKEN || github.token }} + GH_TOKEN: ${{ secrets.GH_MIRROR_TOKEN || github.token }} - name: Commit updated files if: ${{ steps.readme_version.outputs.skip != 'true' && inputs.dry_run != true }}