[Feature]: test #1
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: Issue Validator and Labeler | |
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
validate-and-label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate Issue Template and Add Labels | |
uses: actions/github-script@v7 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
const script = require('./.github/scripts/validate.js') | |
await script({github, context}) |