github / automatic-contrib-prs

Automatically open a pull request for repositories that have no CONTRIBUTING.md file
MIT License
23 stars 11 forks source link

feat: release on specific labels #61

Closed jmeridth closed 4 months ago

jmeridth commented 4 months ago

Related to https://github.com/github/github-ospo/issues/105

Closes #59 Closes #60

Pull Request

Proposed Changes

Only generate a release and new action container images if our semver related labels (breaking, enhancement, fix) or the release label are used on a merged pull request.

Changed from push (merge) on main branch to release generation happening when a pull_request is merged to main branch.

This gives us access to the pull requests labels without having to make API cals.

Currently we'd still need to label a pull request with release if it is a dependabot or manual pull request related to a CVE or security fix.

Readiness Checklist

Author/Contributor

Reviewer