Repository navigation
Add a TUI when invoked without arguments #89
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Keeps a draft GitHub Release continuously updated as PRs merge to main, and | |
| # auto-labels PRs so the draft's version/changelog can be resolved from labels. | |
| # The draft's version and changelog come from .github/release-drafter.yml. | |
| # Publishing the draft creates the git tag, which triggers the goreleaser build | |
| # in .github/workflows/release.yml. | |
| name: Release Drafter | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| permissions: | |
| contents: read | |
| jobs: | |
| # Update the draft release. Only meaningful on push to main; on pull_request | |
| # merge refs release-drafter forces dry-run, so we restrict it to push. | |
| update_release_draft: | |
| if: github.event_name == 'push' | |
| permissions: | |
| contents: write # create/update the draft release | |
| pull-requests: read # read merged PRs to build the changelog | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: release-drafter/release-drafter@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7.7.0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Apply labels to PRs (per the `autolabeler` rules in | |
| # .github/release-drafter.yml) so version resolution has something to work | |
| # with. Runs only on pull_request events. | |
| autolabel: | |
| if: github.event_name == 'pull_request' | |
| permissions: | |
| contents: read | |
| pull-requests: write # apply labels to the PR | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: release-drafter/release-drafter/autolabeler@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7.7.0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |