Skip to content

Commit 84500f4

Browse files
committed
.github/workflows: Switch to GITHUB_TOKEN
1 parent 7d45421 commit 84500f4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/package.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,11 @@ jobs:
284284

285285
- name: Update repository
286286
env:
287-
SURFACEBOT_TOKEN: ${{ secrets.LINUX_SURFACE_BOT_TOKEN }}
287+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
288288
BRANCH_STAGING: u/staging
289289
GIT_REF: ${{ github.ref }}
290290
run: |
291-
repo="https://surfacebot:${SURFACEBOT_TOKEN}@github.com/linux-surface/repo.git"
291+
repo="https://surfacebot:${TOKEN}@github.com/linux-surface/repo.git"
292292
293293
# clone package repository
294294
git clone -b "${BRANCH_STAGING}" "${repo}" repo
@@ -334,11 +334,11 @@ jobs:
334334

335335
- name: Update repository
336336
env:
337-
SURFACEBOT_TOKEN: ${{ secrets.LINUX_SURFACE_BOT_TOKEN }}
337+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
338338
BRANCH_STAGING: u/staging
339339
GIT_REF: ${{ github.ref }}
340340
run: |
341-
repo="https://surfacebot:${SURFACEBOT_TOKEN}@github.com/linux-surface/repo.git"
341+
repo="https://surfacebot:${TOKEN}@github.com/linux-surface/repo.git"
342342
343343
# clone package repository
344344
git clone -b "${BRANCH_STAGING}" "${repo}" repo
@@ -385,11 +385,11 @@ jobs:
385385

386386
- name: Update repository
387387
env:
388-
SURFACEBOT_TOKEN: ${{ secrets.LINUX_SURFACE_BOT_TOKEN }}
388+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
389389
BRANCH_STAGING: u/staging
390390
GIT_REF: ${{ github.ref }}
391391
run: |
392-
repo="https://surfacebot:${SURFACEBOT_TOKEN}@github.com/linux-surface/repo.git"
392+
repo="https://surfacebot:${TOKEN}@github.com/linux-surface/repo.git"
393393
394394
# clone package repository
395395
git clone -b "${BRANCH_STAGING}" "${repo}" repo
@@ -436,11 +436,11 @@ jobs:
436436

437437
- name: Update repository
438438
env:
439-
SURFACEBOT_TOKEN: ${{ secrets.LINUX_SURFACE_BOT_TOKEN }}
439+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
440440
BRANCH_STAGING: u/staging
441441
GIT_REF: ${{ github.ref }}
442442
run: |
443-
repo="https://surfacebot:${SURFACEBOT_TOKEN}@github.com/linux-surface/repo.git"
443+
repo="https://surfacebot:${TOKEN}@github.com/linux-surface/repo.git"
444444
445445
# clone package repository
446446
git clone -b "${BRANCH_STAGING}" "${repo}" repo
@@ -488,11 +488,11 @@ jobs:
488488

489489
- name: Update repository
490490
env:
491-
SURFACEBOT_TOKEN: ${{ secrets.LINUX_SURFACE_BOT_TOKEN }}
491+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
492492
BRANCH_STAGING: u/staging
493493
GIT_REF: ${{ github.ref }}
494494
run: |
495-
repo="https://surfacebot:${SURFACEBOT_TOKEN}@github.com/linux-surface/repo.git"
495+
repo="https://surfacebot:${TOKEN}@github.com/linux-surface/repo.git"
496496
497497
# clone package repository
498498
git clone -b "${BRANCH_STAGING}" "${repo}" repo

0 commit comments

Comments
 (0)