Update pre-commit hooks #686
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: Label pull request | |
on: | |
- pull_request_target | |
jobs: | |
label: | |
name: Label pull request | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Generate token | |
id: generate-token | |
uses: tibdex/github-app-token@v2 | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
- name: Label pull request | |
uses: actions/labeler@v5 | |
with: | |
repo-token: ${{ steps.generate-token.outputs.token }} | |
sync-labels: true |