github / stale-repos

Find stale repositories in a GitHub organization.
https://github.blog/2023-06-05-announcing-the-stale-repos-action/
MIT License
144 stars 27 forks source link

feat: release on specific labels #128

Closed jmeridth closed 7 months ago

jmeridth commented 7 months ago

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

Closes #126 Closes #127

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