git-next/.forgejo/workflows/push-main.yml
Paul Campbell f363f9eb17
Some checks failed
Rust / build (push) Successful in 2m17s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
Release Please / Release-plz (push) Failing after 5s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
build(push-main): remove redundent steps
2024-08-04 15:06:05 +01:00

37 lines
979 B
YAML

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
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run release-plz release-pr
uses: https://git.kemitix.net/kemitix/rust@dev
with:
args: release-plz release-pr --backend gitea --git-token ${GITHUB_TOKEN}
env:
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release
uses: https://git.kemitix.net/kemitix/rust@dev
with:
args: release-plz release --backend gitea --git-token ${GITHUB_TOKEN}
env:
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}