Skip to content

Commit c586560

Browse files
committed
ci: read the app id from the GH_APP_ID variable and push as the merge-ci app
1 parent 6f2cbc4 commit c586560

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci-scheduled-fuzzing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ jobs:
278278
if: ${{ !startsWith(github.ref, 'refs/heads/debug-fuzzer-') && steps.corpusparams.outputs.corpusage > 2592000 && github.repository_owner == 'FreeRADIUS' }}
279279
uses: actions/create-github-app-token@v3
280280
with:
281-
app-id: ${{ secrets.GH_APP_ID }}
281+
app-id: ${{ vars.GH_APP_ID }}
282282
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
283283

284284
#

.github/workflows/merge-upstream.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@ jobs:
154154
if: steps.gate.outputs.ready == 'yes'
155155
uses: actions/create-github-app-token@v3
156156
with:
157-
app-id: ${{ secrets.GH_APP_ID }}
157+
app-id: ${{ vars.GH_APP_ID }}
158158
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
159159

160160
- name: Set up Git with app token
161161
if: steps.gate.outputs.ready == 'yes'
162162
run: |
163163
git config --global url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/".insteadOf "https://github.com/"
164-
git config --global user.name "freeradius-server-ci[bot]"
165-
git config --global user.email "freeradius-server-ci[bot]@users.noreply.github.com"
164+
git config --global user.name "freeradius-server-merge-ci[bot]"
165+
git config --global user.email "freeradius-server-merge-ci[bot]@users.noreply.github.com"
166166
git config --global commit.gpgSign true
167167
git config --global gpg.format ssh
168168

0 commit comments

Comments
 (0)