Merge pull request #47 from tj-actions/renovate/tj-actions-github-cha… #139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test cargo-bump | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run cargo-bump | |
id: cargo-bump | |
uses: ./ | |
with: | |
working-directory: test-package | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
with: | |
base: "main" | |
labels: "merge when passing" | |
title: "chore: upgraded test-package" | |
branch: "chore/upgraded-to-${{ steps.cargo-bump.outputs.new_version }}" | |
body: "View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.cargo-bump.outputs.old_version }}...${{ steps.cargo-bump.outputs.new_version }})" | |
token: ${{ secrets.PAT_TOKEN }} |