Matched problems dropped when running in container
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 1.4k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 24
Description
Describe the bug
A problem matcher enabled using a 'normal' run step in a job running in a container drops all issues with "Dropping file value ... Path is not under the workflow repo." Removing the container option from the workflow file (such that it runs on ubuntu-latest) and leaving all configuration unchanged does not drop the issues and creates annotations as expected.
To Reproduce
Steps to reproduce the behavior:
- Create a workflow with a configuration similar to (the example uses eslint):
name: PR Linting
on:
pull_request:
branches: [ develop ]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
container:
image: node:14.13.1
steps:
- uses: actions/checkout@v2
- name: Enable problem matcher
run: echo "::add-matcher::.github/problem-matchers/eslint.json"
- name: Run linter
run: npm run lint
- Add the actual problem matcher (I used the multiline example: https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md)
- Run it
- Warnings / errors will be highlighted, but no annotations created.
- Remove the container section from the definition
- Warnings / errors will be highlighted and annotations will be created.
Expected behavior
Matched issues resulting in annotations when running in a container.
Runner Version and Platform
2.273.5 on GitHub.com
OS of the machine running the runner? OSX/Windows/Linux/...
Ubuntu 18.04.5
What's not working?

Job Log Output
See screenshot
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
The issue names no source files or tests. Start by reproducing the workflow with the container and problem matcher, then inspect the runner logs around the dropped file paths; done means matched problems from container jobs produce annotations without the path warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, github-actions
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100