Skip to content

feat: April Sync - remove random graph generator (#20) #1

feat: April Sync - remove random graph generator (#20)

feat: April Sync - remove random graph generator (#20) #1

Workflow file for this run

# Automatic changelog, version bumping, and semver-checks with release-plz for rust projects
name: Release-plz
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- master
jobs:
# Release unpublished packages.
release-plz-release:
name: Release unpublished packages
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
# Create a PR with the new versions and changelog, preparing the next release.
#
# Note: When using the default `secrets.GITHUB_TOKEN` provided by GitHub Actions, the created PR
# will not trigger CI checks due to a limitation on recursive workflows.
# We could use a personal access token (PAT) instead, but we should create a bot account for that
# (otherwise PRs will be created in whoever's account provided the token).
release-plz-pr:
name: Generate release PR
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}