This repository was archived by the owner on Oct 2, 2025. It is now read-only.
updated sbt github action #21
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
| name: Release Drafter | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # pull_request event is required only for autolabeler | |
| pull_request: | |
| # Only following types are handled by the action, but one can default to all as well | |
| types: [opened, reopened, synchronize] | |
| permissions: | |
| contents: read | |
| # can maybe run locally via https://github.com/nektos/act | |
| # act -s DOCKER_USERNAME=abc -s DOCKER_PASSWORD=xyz --container-architecture linux/arm64 -W .github/workflows/ci.yml pull_request | |
| jobs: | |
| update_release_draft: | |
| timeout-minutes: 5 | |
| permissions: | |
| # write permission is required to create a github release | |
| contents: write | |
| # write permission is required for autolabeler | |
| # otherwise, read permission is required at least | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: release-drafter/release-drafter@v5 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |