-
Notifications
You must be signed in to change notification settings - Fork 1
Create poc.yml #131
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: main
Are you sure you want to change the base?
Create poc.yml #131
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,12 @@ | ||
| name: "tj-action changed-files incident" | ||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| jobs: | ||
| changed_files: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Get changed files | ||
| id: changed-files | ||
| uses: tj-actions/changed-files@0e58ed8671d6b60d0890c21b07f8835ace038e67 | ||
|
Comment on lines
+10
to
+12
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
A new runner reaches this step without an Prompt To Fix With AIThis is a comment left during a code review.
Path: .github/workflows/poc.yml
Line: 10-12
Comment:
**Changed-Files Runs Without Repository**
A new runner reaches this step without an `actions/checkout` step, so the action's default Git-based comparison has no repository or history to inspect. Pull requests to `main` can therefore fail with a Git repository error instead of calculating changed files.
How can I resolve this? If you propose a fix, please make it concise. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This SHA points to the malicious revision from the
tj-actions/changed-filessupply-chain incident. Every pull request tomainexecutes its runner-memory scraping payload, which can print encoded credentials such asGITHUB_TOKENinto the workflow log.Prompt To Fix With AI