Refactor add-label.js
to use label-directory.json
#3231
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 Request Trigger | |
on: | |
pull_request: | |
types: [opened, edited] | |
branches: | |
- 'gh-pages' | |
jobs: | |
Check-For-Linked-Issue: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.action == 'opened' || github.event.action == 'edited' }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check for keyword and issue number | |
id: check-for-keyword | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const script = require('./github-actions/trigger-pr/check-linked-issue.js') | |
script({g: github, c: context}) |