-
Notifications
You must be signed in to change notification settings - Fork 538
add a GitHub Workflow to add bugs to the project board #12225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | |||||||||||||||||||||||||||||
| name: Add bugs to project board | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| on: | |||||||||||||||||||||||||||||
| issues: | |||||||||||||||||||||||||||||
| types: | |||||||||||||||||||||||||||||
| - opened | |||||||||||||||||||||||||||||
| - labeled | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||||||||
| add-to-project: | |||||||||||||||||||||||||||||
| name: Add bug to project | |||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | |||||||||||||||||||||||||||||
| steps: | |||||||||||||||||||||||||||||
| - uses: actions/add-to-project@v1.0.2 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| project-url: https://github.com/orgs/IQSS/projects/34 | |||||||||||||||||||||||||||||
| github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |||||||||||||||||||||||||||||
| labeled: "Type: Bug" | |||||||||||||||||||||||||||||
|
Comment on lines
+11
to
+18
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Copilot AutofixAI 3 days ago In general, this issue is fixed by adding a For this specific workflow, the job listens to Concretely:
permissions:
contents: read
Suggested changeset
1
.github/workflows/add_bugs_to_project.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
|||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.