Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Use GitHub's own action to generate GitHub App token #1437

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/update-cargo-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
# we use a GitHub app token so that other workflows can react to the
# creation of the Pull Request.
# Following these guidelines -> https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens
# For additional info -> https://github.com/tibdex/github-app-token?tab=readme-ov-file#github-app-token
# For additional info -> https://github.com/actions/create-github-app-token
- name: generate GitHub app token
id: generate-app-token
uses: tibdex/github-app-token@v2
uses: actions/create-github-app-token@v1
with:
app_id: ${{ secrets.UPDATE_CARGO_LOCK_APP_ID }}
private_key: ${{ secrets.UPDATE_CARGO_LOCK_APP_PRIVATE_KEY }}
app-id: ${{ secrets.UPDATE_CARGO_LOCK_APP_ID }}
private-key: ${{ secrets.UPDATE_CARGO_LOCK_APP_PRIVATE_KEY }}
- name: cargo update
run: cargo update
- name: create pull request
Expand Down
Loading