diff --git a/.github/workflows/update-mingw-package.yml b/.github/workflows/update-mingw-package.yml index 57725ab..efe1672 100644 --- a/.github/workflows/update-mingw-package.yml +++ b/.github/workflows/update-mingw-package.yml @@ -23,13 +23,13 @@ jobs: uses: actions/checkout@v4 with: repository: 'GMLC-TDC/MINGW-packages' - token: ${{ secrets.HELICS_BOT_TOKEN }} + token: ${{ secrets.HELICS_PACKAGING_TOKEN }} path: 'MINGW-packages' - name: Sync MINGW-packages fork with upstream working-directory: 'MINGW-packages' - run: | - echo "${{ secrets.HELICS_PACKAGING_TOKEN }}" | gh auth login --with-token - gh api repos/{owner}/{repo}/merge-upstream --field branch='{branch}' + env: + GH_TOKEN: ${{ secrets.HELICS_PACKAGING_TOKEN }} + run: gh api repos/{owner}/{repo}/merge-upstream --field branch='{branch}' - name: Set git config for commits run: | git config --global user.name "github-actions[bot]" diff --git a/.github/workflows/update-spack-package.yml b/.github/workflows/update-spack-package.yml index 45040aa..0914ea0 100644 --- a/.github/workflows/update-spack-package.yml +++ b/.github/workflows/update-spack-package.yml @@ -23,13 +23,13 @@ jobs: uses: actions/checkout@v4 with: repository: 'GMLC-TDC/spack' - token: ${{ secrets.HELICS_BOT_TOKEN }} + token: ${{ secrets.HELICS_PACKAGING_TOKEN }} path: 'spack' - name: Sync Spack fork with upstream working-directory: 'spack' - run: | - echo "${{ secrets.HELICS_PACKAGING_TOKEN }}" | gh auth login --with-token - gh api repos/{owner}/{repo}/merge-upstream --field branch='{branch}' + env: + GH_TOKEN: ${{ secrets.HELICS_PACKAGING_TOKEN }} + run: gh api repos/{owner}/{repo}/merge-upstream --field branch='{branch}' - name: Set git config for commits run: | git config --global user.name "github-actions[bot]" diff --git a/.github/workflows/update-yggdrasil-package.yml b/.github/workflows/update-yggdrasil-package.yml index 302d56b..4822c10 100644 --- a/.github/workflows/update-yggdrasil-package.yml +++ b/.github/workflows/update-yggdrasil-package.yml @@ -23,13 +23,13 @@ jobs: uses: actions/checkout@v4 with: repository: 'GMLC-TDC/Yggdrasil' - token: ${{ secrets.HELICS_BOT_TOKEN }} + token: ${{ secrets.HELICS_PACKAGING_TOKEN }} path: 'Yggdrasil' - name: Sync Yggdrasil fork with upstream working-directory: 'Yggdrasil' - run: | - echo "${{ secrets.HELICS_PACKAGING_TOKEN }}" | gh auth login --with-token - gh api repos/{owner}/{repo}/merge-upstream --field branch='{branch}' + env: + GH_TOKEN: ${{ secrets.HELICS_PACKAGING_TOKEN }} + run: gh api repos/{owner}/{repo}/merge-upstream --field branch='{branch}' - name: Set git config for commits run: | git config --global user.name "github-actions[bot]"