Skip to content

Restore the main.yml Actions badge target#15

Draft
Copilot wants to merge 2 commits into
Mainfrom
copilot/main-another-one
Draft

Restore the main.yml Actions badge target#15
Copilot wants to merge 2 commits into
Mainfrom
copilot/main-another-one

Conversation

Copilot AI commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

The README references the GitHub Actions badge for .github/workflows/main.yml, but that workflow file was no longer a valid Actions definition. This change restores main.yml as a real workflow so the badge resolves against an actual pipeline again.

  • Workflow restoration

    • Replaced the invalid contents of .github/workflows/main.yml with a valid GitHub Actions workflow named Main
    • Scoped triggers to the repository’s default branch, Main
    • Kept the job minimal and aligned with the repository’s existing build path
  • README badge

    • Added the requested badge snippet at the top of README.md
    • Pointed both the badge image and link at actions/workflows/main.yml
  • Resulting workflow shape

    name: Main
    
    on:
      push:
        branches:
          - Main
      pull_request:
        branches:
          - Main
      workflow_dispatch:
    
    jobs:
      build:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-node@v4
            with:
              node-version: 20
          - run: npm run build

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

Co-authored-by: phuquoc81 <51638662+phuquoc81@users.noreply.github.com>
Copilot AI changed the title [WIP] Main workflow badge update Restore the main.yml Actions badge target Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants