Remove local plugin loading recommendation from v1.11.x version of developer documentation #812
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
on: | |
issues: | |
types: [opened] | |
permissions: | |
contents: read | |
jobs: | |
issue_triage: | |
name: Issue Opened Triage | |
permissions: | |
contents: read | |
issues: write # for github/issue-labeler to create or remove labels | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
configuration-path: .github/labeler-issue-triage.yml | |
enable-versioned-regex: 0 | |
label-question: | |
name: Redirect to discuss | |
permissions: | |
contents: read | |
issues: write # for actions/github-script to create comments and add labels | |
if: contains(github.event.issue.labels.*.name, 'question') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | |
with: | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: ` | |
Hi 👋 thanks for reaching out. | |
For general questions we recommend reaching out to the [community forum](https://discuss.hashicorp.com/c/packer) for greater visibility. | |
As the GitHub issue tracker is only watched by a small subset of maintainers and is really reserved for bugs and enhancements, you'll have a better chance of finding someone who can help you in the forum. | |
We'll mark this issue as needs-reply to help inform maintainers that this question is awaiting a response. | |
If no activity is taken on this question within 30 days it will be automatically closed. | |
If you find the forum to be more helpful or if you've found the answer to your question elsewhere please feel free to post a response and close the issue.` | |
}) | |
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | |
with: | |
script: | | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['needs-reply'] | |
}) | |