Add issue checker #6
This file contains hidden or 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 Issue Check | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, labeled, unlabeled] | |
| permissions: | |
| pull-requests: write | |
| issues: read | |
| jobs: | |
| check-linked-issue: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: plotly/pr-issue-checker@v1 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| exempt-labels: "no-issue-needed" | |
| request-issue-message: "Could you please link an issue to this PR? This helps us track the context and purpose of changes." | |
| thank-you-message: "Thank you for your contribution! 🎉" | |
| issue-added-message: "Thanks for adding an issue! ✅" |