GitHub Repository Setup for Semantic Release

đź”§ Required Repository Settings

To enable semantic-release to work properly, you need to configure the following GitHub repository settings:

1. Actions Permissions

Go to Settings > Actions > General in your repository:

Go to Settings > Branches:

3. Issues Settings

Go to Settings > General:

🚀 What the Updated Workflow Does

The workflow now has these permissions:

🔄 Next Steps

  1. Update these repository settings as described above
  2. Push any commit with conventional message to main:
    git add .
    git commit -m "fix: update repository permissions for semantic-release"
    git push origin main
    
  3. Watch the Actions tab - semantic-release should now work!

🎯 Test Commit Examples

# Patch release (1.0.0 → 1.0.1)
git commit -m "fix: resolve issue with status indicators"

# Minor release (1.0.0 → 1.1.0)
git commit -m "feat: add new display mode"

# Major release (1.0.0 → 2.0.0)
git commit -m "feat!: breaking change to API structure"

đź“‹ Troubleshooting

Issue: “Resource not accessible by integration”

Solution: Check workflow permissions are set to “Read and write”

Issue: “Cannot create tag/release”

Solution: Ensure contents: write permission is granted

Issue: “Plugin signing fails”

Solution: Check secrets are properly configured (see Plugin Signing Guide)