kxio/.forgejo/workflows/push-main.yml

39 lines
835 B
YAML
Raw Normal View History

name: Release Please
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
release-plz:
name: Release-plz
runs-on: docker
2025-01-12 14:11:27 +00:00
container:
image:
git.kemitix.net/kemitix/rust:v3.1.0
2025-01-12 14:11:27 +00:00
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
2025-01-12 14:11:27 +00:00
- name: Run release-plz release-pr
2025-01-12 14:11:27 +00:00
run: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
2025-01-12 14:11:27 +00:00
- name: Run release-plz release
2025-01-12 14:11:27 +00:00
run: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}