Skip to content

Commit

Permalink
Update 3rd party package repo workflows to use HELICS_PACKAGING_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed Feb 7, 2024
1 parent ca537a2 commit 0e7d4c2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-mingw-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-spack-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-yggdrasil-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down

0 comments on commit 0e7d4c2

Please sign in to comment.