git-next/.forgejo/workflows/push-main.yml

38 lines
1 KiB
YAML
Raw Normal View History

2024-08-04 13:37:10 +01:00
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@be47ad0bab99ebd74de7cfdbdcde14780a680991
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@be47ad0bab99ebd74de7cfdbdcde14780a680991
with:
args: release-plz release --backend gitea --git-token ${GITHUB_TOKEN}
2024-08-04 13:37:10 +01:00
env:
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}