Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add comprehensive GitHub Copilot instructions for PyPI publish action development#375

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Copilot wants to merge6 commits intounstable/v1
base:unstable/v1
Choose a base branch
Loading
fromcopilot/fix-374

Conversation

Copy link

CopilotAI commentedAug 7, 2025
edited
Loading

This PR adds a comprehensive.github/copilot-instructions.md file that provides GitHub Copilot coding agents with detailed guidance for working effectively in this Docker-based GitHub Action repository.

What's Included

The instructions provide complete guidance covering:

Bootstrap and Validation Commands

  • All commands have been tested and validated to work in the current environment
  • Includes fallback manual validation for network-restricted environments
  • Python syntax validation, shell script checking, and YAML validation

Build Process Documentation

  • Docker build process with exact timing expectations (10-20 minutes, 30+ minute timeout)
  • Smoke test execution (2 minutes, 5+ minute timeout)
  • Clear "NEVER CANCEL" warnings for long-running operations

Manual Validation Scenarios

  • Step-by-step testing procedures for Python scripts, shell scripts, and action definitions
  • Functional testing scenarios for hash calculation and package name extraction
  • Security considerations for credential handling

Comprehensive Troubleshooting

  • Documents known network limitations in sandboxed environments
  • Provides workarounds when automated tools fail due to SSL/connectivity issues
  • Explains why Docker builds and pip installations may fail in restricted environments

Repository Structure Guide

  • Detailed explanation of key files and their purposes
  • Dependencies and requirements management with pip-tools
  • Development best practices and validation workflows

Key Features

  • Firm directive to always reference instructions first before searching or using bash commands
  • Exhaustively validated - every documented command has been tested to work correctly
  • Handles limitations - provides manual alternatives when network restrictions prevent automated tools
  • Security-aware - includes guidance for handling sensitive credentials and OIDC flows
  • Developer-friendly - structured for quick reference and efficient workflow

The instructions enable any developer to quickly understand this codebase and work effectively while navigating the common challenges of sandboxed development environments.

Fixes#374.


✨ Let Copilot coding agentset things up for you — coding agent works faster and does higher quality work when set up for your repo.

CopilotAIand others added3 commitsAugust 7, 2025 12:19
Co-authored-by: webknjaz <578543+webknjaz@users.noreply.github.com>
Co-authored-by: webknjaz <578543+webknjaz@users.noreply.github.com>
Co-authored-by: webknjaz <578543+webknjaz@users.noreply.github.com>
CopilotAI changed the title[WIP] ✨Set up Copilot instructionsAdd comprehensive GitHub Copilot instructions for PyPI publish action developmentAug 7, 2025
@webknjaz
Copy link
Member

pre-commit.ci autofix

pre-commit-ci[bot] reacted with rocket emoji

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@copilot revert changes to this file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Reverted the .gitignore changes as requested in commit 088da53.

Co-authored-by: webknjaz <578543+webknjaz@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@webknjazwebknjazAwaiting requested review from webknjaz

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

✨Set up Copilot instructions

2 participants

@webknjaz

[8]ページ先頭

©2009-2025 Movatter.jp