mirror of
https://github.com/danbulant/lucide
synced 2026-07-06 19:50:47 +00:00
ci: use GitHub app token for upstream workflow (#100)
This commit is contained in:
parent
161919dbb2
commit
1683afb3bc
1 changed files with 9 additions and 2 deletions
11
.github/workflows/upstream.yml
vendored
11
.github/workflows/upstream.yml
vendored
|
|
@ -15,6 +15,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Generate GitHub App token
|
||||||
|
id: app-token
|
||||||
|
uses: actions/create-github-app-token@v2
|
||||||
|
with:
|
||||||
|
app-id: ${{ secrets.APP_ID }}
|
||||||
|
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -38,8 +45,8 @@ jobs:
|
||||||
- name: Check for upstream releases
|
- name: Check for upstream releases
|
||||||
run: cargo run -p scripts --bin upstream
|
run: cargo run -p scripts --bin upstream
|
||||||
env:
|
env:
|
||||||
GITHUB_ACTOR: ${{ env.GITHUB_ACTOR }}
|
GITHUB_ACTOR: rust-for-web[bot]
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
GIT_USER_NAME: rust-for-web[bot]
|
GIT_USER_NAME: rust-for-web[bot]
|
||||||
GIT_USER_EMAIL: 191031261+rust-for-web[bot]@users.noreply.github.com
|
GIT_USER_EMAIL: 191031261+rust-for-web[bot]@users.noreply.github.com
|
||||||
RUST_LOG: upstream=info
|
RUST_LOG: upstream=info
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue