feat: Add redirect package. #11
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 Request Labels | |
on: | |
pull_request: | |
types: [opened] | |
jobs: | |
pull-request-labels: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Add label to pull request | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const script = require('.github/workflows/scripts/labels.js') | |
script({github, context}) |