chore(deps): bump clap from 4.5.21 to 4.5.23 #192
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Pull Requests" | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- labeled | |
- unlabeled | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: thehanimo/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
pass_on_octokit_error: false | |
configuration_path: .github/pr-title-checker-config.json | |
generate-files: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: ${{ vars.SKIM_RS_BOT_APP_ID }} | |
private-key: ${{ secrets.SKIM_RS_BOT_PRIVATE_KEY }} | |
- name: Checkout Git repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
token: ${{ steps.app-token.outputs.token }} | |
- name: Install correct toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Generate manpage | |
uses: actions-rs/cargo@v1 | |
with: | |
command: run | |
args: --package xtask mangen | |
- name: Generate completions | |
uses: actions-rs/cargo@v1 | |
with: | |
command: run | |
args: --package xtask compgen | |
- name: Push modified files | |
run: | | |
git branch -v | |
git config user.email "[email protected]" | |
git config user.name "Skim bot" | |
git commit -am 'chore: generate completions & manpage' || exit 0 | |
git push |