Skip to content

Commit 03385e1

Browse files
authored
remove app token (#706)
* remove app token smoke * remove l10n app token
1 parent c78827b commit 03385e1

File tree

2 files changed

+0
-48
lines changed

2 files changed

+0
-48
lines changed

.github/workflows/l10n.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,8 @@ jobs:
4444
if: ${{ inputs.job_to_run == 'L10N-MacOS' || inputs.mac_installer_link }}
4545
runs-on: macos-latest
4646
steps:
47-
- name: Create app token
48-
uses: actions/create-github-app-token@v1
49-
id: app-token
50-
with:
51-
app-id: ${{ secrets.BOT_CLIENT_ID }}
52-
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
5347
- name: Checkout repository
5448
uses: actions/checkout@v4
55-
with:
56-
token: ${{ steps.app-token.outputs.token }}
5749
- name: Set up Python 3.11
5850
uses: actions/setup-python@v5
5951
with:
@@ -129,16 +121,8 @@ jobs:
129121
if: ${{ inputs.job_to_run == 'L10N-Linux' || inputs.linux_tarball_link }}
130122
runs-on: ubuntu-latest
131123
steps:
132-
- name: Create app token
133-
uses: actions/create-github-app-token@v1
134-
id: app-token
135-
with:
136-
app-id: ${{ secrets.BOT_CLIENT_ID }}
137-
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
138124
- name: Checkout repository
139125
uses: actions/checkout@v4
140-
with:
141-
token: ${{ steps.app-token.outputs.token }}
142126
- name: Set up Python 3.11
143127
uses: actions/setup-python@v5
144128
with:
@@ -212,16 +196,8 @@ jobs:
212196
if: ${{ inputs.job_to_run == 'L10N-Windows' || inputs.win_installer_link }}
213197
runs-on: windows-latest
214198
steps:
215-
- name: Create app token
216-
uses: actions/create-github-app-token@v1
217-
id: app-token
218-
with:
219-
app-id: ${{ secrets.BOT_CLIENT_ID }}
220-
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
221199
- name: Checkout repository
222200
uses: actions/checkout@v4
223-
with:
224-
token: ${{ steps.app-token.outputs.token }}
225201
- name: Set up Python 3.11
226202
uses: actions/setup-python@v5
227203
with:

.github/workflows/smoke.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,8 @@ jobs:
4343
if: ${{ inputs.job_to_run == 'Smoke-Windows' || inputs.win_installer_link }}
4444
runs-on: windows-latest
4545
steps:
46-
- name: Create app token
47-
uses: actions/create-github-app-token@v1
48-
id: app-token
49-
with:
50-
app-id: ${{ secrets.BOT_CLIENT_ID }}
51-
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
5246
- name: Checkout repository
5347
uses: actions/checkout@v4
54-
with:
55-
token: ${{ steps.app-token.outputs.token }}
5648
- name: Set up Python 3.11
5749
uses: actions/setup-python@v5
5850
with:
@@ -152,16 +144,8 @@ jobs:
152144
if: ${{ inputs.job_to_run == 'Smoke-MacOS' || inputs.mac_installer_link }}
153145
runs-on: macos-latest
154146
steps:
155-
- name: Create app token
156-
uses: actions/create-github-app-token@v1
157-
id: app-token
158-
with:
159-
app-id: ${{ secrets.BOT_CLIENT_ID }}
160-
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
161147
- name: Checkout repository
162148
uses: actions/checkout@v4
163-
with:
164-
token: ${{ steps.app-token.outputs.token }}
165149
- name: Set up Python 3.11
166150
uses: actions/setup-python@v5
167151
with:
@@ -226,16 +210,8 @@ jobs:
226210
if: ${{ inputs.linux_tarball_link }}
227211
runs-on: ubuntu-latest
228212
steps:
229-
- name: Create app token
230-
uses: actions/create-github-app-token@v1
231-
id: app-token
232-
with:
233-
app-id: ${{ secrets.BOT_CLIENT_ID }}
234-
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
235213
- name: Checkout repository
236214
uses: actions/checkout@v4
237-
with:
238-
token: ${{ steps.app-token.outputs.token }}
239215
- name: Set up Python 3.11
240216
uses: actions/setup-python@v5
241217
with:

0 commit comments

Comments
 (0)