Pinned workflows for folders other than the first in a Code Workspace don't appear in the status bar
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript, vscode
- Domain
- devtools
Research direction
Reproduce the issue in a multi-project Code Workspace using the GitHub Actions extension, then trace how pinned workflow paths are stored and resolved for the status bar. Done means qualified workflows from each project appear, while an unqualified .github/workflows/* path does nothing in a multi-project workspace.
Written by the indexing model from the issue text.
Description
Describe the bug
Clicking the pin & unpin buttons on workflows in a multi-project workspace add PROJECT-FOLDER-NAME/.github/workflows/WORKFLOW-NAME.yml to "github-actions.workflows.pinned.workflows", but in actuality, the only workflows that can actually show in the status bar are workflows for the first project in the workspace, and only when not qualified with the PROJECT-FOLDER-NAME
To Reproduce
Steps to reproduce the behavior:
- Open a new VSCode window and click File > Add Folder to Workspace, then choose a GitHub project with
.github/workflows. Do it again for another GitHub project with workflows. - In the GitHub Actions extension workflows list, pin workflows from both projects.
- No workflows will appear in the status bar.
- Open Workspace Settings (JSON), and for a workflow from the first project folder listed, remove the project name. IE, the path should be
.github/workflows/WORKFLOW-NAME.yml. - The workflow will appear in the status bar.
Expected behavior
Pinned workflows in a multi-project workspace should appear when they're qualified with the project name. The path .github/workflows/* in a multi-project workspace probably shouldn't resolve to anything and therefore should do nothing.
Extension Version
v0.27.0
- Dominant language
- TypeScript
- Stars
- 661
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/vscode-github-actions
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
github/vscode-github-actions#627 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
github/vscode-github-actions#630 · 1 reaction ·
-
long work Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
github/vscode-github-actions#628 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
github/vscode-github-actions#625 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 64/100
github/vscode-github-actions#621 · 3 comments ·
All issues in github/vscode-github-actions
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
bcgov/bc-wallet-mobile#4761 · 1 comment ·
-
external-issue to-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
refactor
Difficulty 2/5 1-3 hours Newbie friendliness 84/100