Skip to content

Revert "feat: remove deprecated functions" #20

Revert "feat: remove deprecated functions"

Revert "feat: remove deprecated functions" #20

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