Revert "feat: remove deprecated functions" #20
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: PR Labeler | |
on: | |
pull_request: | |
types: [opened] | |
permissions: | |
contents: read | |
jobs: | |
pr-labeler: | |
permissions: | |
contents: read # for TimonVS/pr-labeler-action to read config file | |
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate token | |
id: generate_token | |
uses: tibdex/github-app-token@v2 | |
with: | |
app_id: ${{ secrets.OCMBOT_APP_ID }} | |
private_key: ${{ secrets.OCMBOT_PRIV_KEY }} | |
- name: Label PR based on branch name | |
uses: TimonVS/pr-labeler-action@v5 | |
with: | |
repo-token: ${{ steps.generate_token.outputs.token }} | |
configuration-path: .github/config/pr-labeler.yml |