Skip to content

Commit 37f83e4

Browse files
committed
Use my personal token for testing purpose
1 parent 11446e2 commit 37f83e4

File tree

3 files changed

+27
-22
lines changed

3 files changed

+27
-22
lines changed

.github/workflows/ci_tests_dev.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,21 @@ jobs:
4444
fetch-depth: 0
4545

4646
# Generate token from GenericMappingTools bot
47-
- name: Generate token from GenericMappingTools bot
48-
uses: tibdex/github-app-token@v1
49-
if: github.event_name == 'repository_dispatch'
50-
id: generate-token
51-
with:
52-
app_id: ${{ secrets.APP_ID }}
53-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
47+
# - name: Generate token from GenericMappingTools bot
48+
# uses: tibdex/github-app-token@v1
49+
# if: github.event_name == 'repository_dispatch'
50+
# id: generate-token
51+
# with:
52+
# app_id: ${{ secrets.APP_ID }}
53+
# private_key: ${{ secrets.APP_PRIVATE_KEY }}
5454

5555
# Checkout the pull request branch
5656
- name: Checkout
5757
uses: actions/checkout@v2
5858
if: github.event_name == 'repository_dispatch'
5959
with:
60-
token: ${{ steps.generate-token.outputs.token }}
60+
# token: ${{ steps.generate-token.outputs.token }}
61+
token: ${{ secrets.PYGMT_TEST_TOKEN }}
6162
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
6263
ref: ${{ github.event.client_payload.pull_request.head.ref }}
6364
# fecth all history so that setuptools-scm works
@@ -134,7 +135,8 @@ jobs:
134135
uses: peter-evans/create-or-update-comment@v1
135136
if: github.event_name == 'repository_dispatch'
136137
with:
137-
token: ${{ steps.generate-token.outputs.token }}
138+
# token: ${{ steps.generate-token.outputs.token }}
139+
token: ${{ secrets.PYGMT_TEST_TOKEN }}
138140
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
139141
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
140142
reaction-type: hooray

.github/workflows/format-command.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
# Generate token from GenericMappingTools bot
10-
- uses: tibdex/github-app-token@v1
11-
id: generate-token
12-
with:
13-
app_id: ${{ secrets.APP_ID }}
14-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
10+
#- uses: tibdex/github-app-token@v1
11+
# id: generate-token
12+
# with:
13+
# app_id: ${{ secrets.APP_ID }}
14+
# private_key: ${{ secrets.APP_PRIVATE_KEY }}
1515

1616
# Checkout the pull request branch
1717
- uses: actions/checkout@v2
1818
with:
19-
token: ${{ steps.generate-token.outputs.token }}
19+
# token: ${{ steps.generate-token.outputs.token }}
20+
token: ${{ secrets.PYGMT_TEST_TOKEN }}
2021
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
2122
ref: ${{ github.event.client_payload.pull_request.head.ref }}
2223

@@ -45,7 +46,8 @@ jobs:
4546
- name: Add reaction
4647
uses: peter-evans/create-or-update-comment@v1
4748
with:
48-
token: ${{ steps.generate-token.outputs.token }}
49+
#token: ${{ steps.generate-token.outputs.token }}
50+
token: ${{ secrets.PYGMT_TEST_TOKEN }}
4951
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
5052
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
5153
reaction-type: hooray

.github/workflows/slash-command-dispatch.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
# Generate token from GenericMappingTools bot
12-
- uses: tibdex/github-app-token@v1
13-
id: generate-token
14-
with:
15-
app_id: ${{ secrets.APP_ID }}
16-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
12+
#- uses: tibdex/github-app-token@v1
13+
# id: generate-token
14+
# with:
15+
# app_id: ${{ secrets.APP_ID }}
16+
# private_key: ${{ secrets.APP_PRIVATE_KEY }}
1717

1818
- name: Slash Command Dispatch
1919
uses: peter-evans/slash-command-dispatch@v2
2020
with:
21-
token: ${{ steps.generate-token.outputs.token }}
21+
#token: ${{ steps.generate-token.outputs.token }}
22+
token: ${{ secrets.PYGMT_TEST_TOKEN }}
2223
commands: |
2324
format
2425
test-gmt-master

0 commit comments

Comments
 (0)