Conversation
…e README Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
…nore Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
The Option 1: Use the branch name (for testing before merge) uses: SillyLittleTech/AutomationSuite@copilot/setup-actions-marketplaceOption 2: After PR is merged (recommended for production)
For immediate testing with your current branch, use Option 1. |
|
@copilot for now can we push this pr as a pre-release tag so. we can get it working here for now, and then once the PR is merged I can make a full release, and update what I need. |
I can't directly create or push tags, but you can create a pre-release tag yourself. Here's how: On your local machine: # Fetch the latest changes
git fetch origin
# Create a pre-release tag on the PR branch
git tag -a v1.0.0-beta.1 e822e7a -m "Pre-release for testing"
# Push the tag
git push origin v1.0.0-beta.1
# Optionally create a v1-beta tag for easier reference
git tag -a v1-beta e822e7a -m "Beta version 1"
git push origin v1-betaThen use in your workflow: uses: SillyLittleTech/AutomationSuite@v1-beta
# or
uses: SillyLittleTech/AutomationSuite@v1.0.0-beta.1After the PR is merged, you can create the stable |
kiyarose
left a comment
There was a problem hiding this comment.
Will go ahead and merge and tag
Overview
This PR transforms the AutomationSuite repository into a fully-featured GitHub Action ready for publication on the GitHub Actions Marketplace. The action provides comprehensive automation for GitHub Issues and Pull Requests including project board management, label/milestone synchronization, and security scan auto-labeling.
What's New
Core Action Implementation (
action.yml)Created a composite GitHub Action with three powerful automation features:
Project Board Automation - Integrates with GitHub Projects V2 using GraphQL API
Label & Milestone Synchronization - Bidirectional sync between issues and PRs
#123,fixes #123, full GitHub URLsZAP Security Scan Auto-labeling - Pattern-based automation
zap-labelsinput parameterConfiguration Options
The action is fully modular with 6 input parameters:
github-token(required) - GitHub API access tokenproject-name(optional, default: "Portfolio Devmt") - Name of GitHub Projects V2 projectenable-project-automation(optional, default: "true") - Toggle project featuresenable-label-sync(optional, default: "true") - Toggle label/milestone syncenable-zap-labeling(optional, default: "true") - Toggle ZAP auto-labelingzap-labels(optional, default: "Meta,Stylistic,javascript,meta:seq,ZAP!") - Custom labels for ZAP issuesEach feature can be independently enabled or disabled, allowing users to pick only what they need.
Documentation (
README.md)Comprehensive 350+ line documentation including:
@v1,@v1.0.0, or@mainExample Workflow (
.github/workflows/example.yml)Provides a ready-to-use workflow file that demonstrates:
Contributing Guide (
CONTRIBUTING.md)Establishes contribution guidelines including:
Changelog (
CHANGELOG.md)Implements semantic versioning structure documenting the v1.0.0 initial release with all features.
Technical Details
actions/github-script@v7#123,closes #123,fixes #456,resolves #789, and full GitHub URLsUsage Example
Marketplace Readiness
✅ Valid
action.ymlwith proper metadata and branding✅ Comprehensive documentation with examples
✅ MIT License included
✅ Contributing guidelines established
✅ Changelog with semantic versioning
✅ All YAML syntax validated
The repository is ready for tagging v1.0.0 and publishing to the GitHub Actions Marketplace.
Files Changed
action.yml- NEW - Main action definition (587 lines)README.md- UPDATED - Comprehensive documentation (364 lines added).github/workflows/example.yml- NEW - Reference workflowCHANGELOG.md- NEW - Version historyCONTRIBUTING.md- NEW - Contribution guidelines.gitignore- UPDATED - Added IDE and temp file exclusionsTotal additions: 1,112 lines across 6 files
Original prompt
make this repo setup for actions marketplace based on ```name: Issue & PR Automation Suite
on:
issues:
types: [opened, closed, reopened, labeled, unlabeled, milestoned, demilestoned, edited]
pull_request:
types: [opened, closed, reopened, ready_for_review, converted_to_draft, synchronize, edited]
pull_request_target:
types: [opened, synchronize]
permissions:
issues: write
pull-requests: write
repository-projects: write
contents: read
env:
PROJECT_NAME: "Portfolio Devmt"
jobs:
project-board-automation:
name: Project Board Integration
runs-on: ubuntu-latest
if: (github.event_name == 'issues' && github.event.action == 'opened') || github.event_name == 'pull_request'
steps:
- name: Add new issue to project backlog
if: github.event_name == 'issues' && github.event.action == 'opened'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const issue = context.payload.issue;
const issueId = issue.node_id;
const issueNumber = issue.number;
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.