Skip to content

Commit e7c2813

Browse files
committed
Use dynamic github token
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 226ef2e commit e7c2813

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535

3636
- name: Prepare git
3737
env:
38-
GITHUB_USER: 1gtm
39-
GITHUB_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
38+
GITHUB_USER: ${{ github.actor }}
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
run: |
4141
set -x
4242
git config --global user.name "${GITHUB_USER}"

.github/workflows/release-tracker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818

1919
- name: Prepare git
2020
env:
21-
GITHUB_USER: 1gtm
22-
GITHUB_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
21+
GITHUB_USER: ${{ github.actor }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
run: |
2424
git config --global user.name "${GITHUB_USER}"
2525
git config --global user.email "${GITHUB_USER}@appscode.com"
@@ -35,7 +35,7 @@ jobs:
3535
github.event.action == 'closed' &&
3636
github.event.pull_request.merged == true
3737
env:
38-
GITHUB_USER: 1gtm
39-
GITHUB_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
38+
GITHUB_USER: ${{ github.actor }}
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
run: |
4141
./hack/scripts/update-release-tracker.sh

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525

2626
- name: Prepare git
2727
env:
28-
GITHUB_USER: 1gtm
29-
GITHUB_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
28+
GITHUB_USER: ${{ github.actor }}
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
run: |
3131
set -x
3232
git config --global user.name "${GITHUB_USER}"

0 commit comments

Comments
 (0)