Repository navigation
Update from task a7457949-1446-41a2-ae19-548c3aabb9b0 #1
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
The head ref may contain hidden characters: "\u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u0435-\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0439-bb9b0"
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,42 @@ | ||
| name: Update README Stats & Blog Posts | ||
|
|
||
| on: | ||
| schedule: | ||
| # Запуск каждый день в 00:00 UTC | ||
| - cron: "0 0 * * *" | ||
| workflow_dispatch: # Возможность ручного запуска | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| # Обновление статистики GitHub (языки, общая статистика) | ||
| - name: Generate GitHub Stats | ||
| uses: jamesgeorge007/github-activity-readme@master | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
Comment on lines
+16
to
+20
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. 5. Stats step likely ineffective The workflow’s "Generate GitHub Stats" step uses github-activity-readme, but README.md contains no activity section markers for that action, so this step is likely a no-op (or may fail depending on action behavior). Agent Prompt
|
||
|
|
||
| # Обновление последних постов блога | ||
| - name: Update blog posts | ||
| uses: gautamkrishnar/blog-post-workflow@v1 | ||
| with: | ||
| max_post_count: "5" | ||
| feed_list: "https://dominicusin.github.io/feed.xml,https://dominicusin.github.io/rss.xml,https://dominicusin.github.io/atom.xml" | ||
| commit_msg: "Update latest blog posts in README" | ||
| comment_tag_name: "BLOGPOSTS" | ||
|
|
||
|
Comment on lines
+26
to
+30
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. 1. Blog tag mismatch The blog-post workflow is configured to look for the tag "BLOGPOSTS", but README.md contains "BLOG-POST-LIST" markers, so the action will not find the replacement block and will not update the blog posts section. Agent Prompt
|
||
| # Коммит и пуш изменений | ||
| - name: Commit & Push changes | ||
| run: | | ||
| git config user.name github-actions | ||
| git config user.email github-actions@github.com | ||
| if [[ $(git status --porcelain) != "" ]]; then | ||
| git add README.md | ||
| git commit -m "chore: auto-update stats and blog posts" | ||
| git push | ||
|
Comment on lines
+36
to
+39
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. 3. Implicit token permissions The workflow performs git push but does not declare permissions: contents: write, so in repos/orgs where the default GITHUB_TOKEN is read-only, scheduled runs will fail to push README updates. Agent Prompt
|
||
| else | ||
| echo "No changes to commit" | ||
| fi | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,63 @@ | ||
| ``` | ||
| # Dependencies | ||
| node_modules/ | ||
|
Comment on lines
+1
to
3
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. 4. Gitignore code fences The .gitignore file now contains Markdown code-fence lines (```), which are treated as literal ignore patterns and make the ignore file misleading/confusing. Agent Prompt
|
||
|
|
||
| # Editors | ||
| .vscode/ | ||
|
|
||
| # Environment | ||
| .env | ||
| .env.local | ||
| .env.* | ||
|
|
||
| # Logs and temp files | ||
| *.log | ||
| *.tmp | ||
| *.swp | ||
|
|
||
| # Build artifacts | ||
| dist/ | ||
| build/ | ||
| *.pyc | ||
| __pycache__/ | ||
| *.o | ||
| *.obj | ||
|
|
||
| # Coverage reports | ||
| coverage/ | ||
| htmlcov/ | ||
| .coverage | ||
|
|
||
| # Python specific | ||
| *.pyc | ||
| *.pyo | ||
| *.pyd | ||
| .Python | ||
| *.so | ||
| *.egg-info/ | ||
| .eggs/ | ||
|
|
||
| # Compressed files | ||
| *.zip | ||
| *.gz | ||
| *.tar | ||
| *.tgz | ||
| *.bz2 | ||
| *.xz | ||
| *.7z | ||
| *.rar | ||
| *.zst | ||
| *.lz4 | ||
| *.lzh | ||
| *.cab | ||
| *.arj | ||
| *.rpm | ||
| *.deb | ||
| *.Z | ||
| *.lz | ||
| *.lzo | ||
| *.tar.gz | ||
| *.tar.bz2 | ||
| *.tar.xz | ||
| *.tar.zst | ||
| ``` | ||
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.
2. Unpinned action reference
🐞 Bug⛨ SecurityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools