Bug: Build crashed due to locale not found for MDX pages #37
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: Auto Comment on Issue Labeled | |
on: | |
issues: | |
types: [labeled] | |
permissions: | |
# Grant write permissions for issues to allow commenting on issues | |
issues: write | |
# Grant write permissions for contents to allow access to repository content | |
contents: write | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Comment on labeled issue | |
uses: actions/github-script@v7 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: `🏷️ Label **${context.payload.label.name}** has been added to this issue.` | |
}); |