mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
This fixes the commit so it includes "version updates" in the text. As it is a single commit, the default squash behavior uses the commit instead of the PR title for the commit that shows up in the dev branch (which wouldn't trigger the next workflow).
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
name: pr-version-updates
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
|
|
jobs:
|
|
pr-to-master:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: git config
|
|
run: |
|
|
git config --global user.name "${{ github.event.pusher.name }}"
|
|
git config --global user.email "${{ github.event.pusher.email }}"
|
|
- name: covector version
|
|
uses: jbolda/covector/packages/action@master
|
|
id: covector
|
|
with:
|
|
command: 'version'
|
|
- name: Create Pull Request With Versions Bumped
|
|
uses: tauri-apps/create-pull-request@v2.8.0
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: release/version-updates
|
|
title: Apply Version Updates From Current Changes
|
|
commit-message: "apply version updates"
|
|
labels: "version updates"
|
|
body: |
|
|
Merging this PR will update the versions on all packages with changes as specified in the `.changes` directory.
|
|
It will kick off the process to release and publish any packages with an incremented version number.
|