chore(deps): update peter-evans/create-pull-request action to v7.0.6 #206
Workflow file for this run
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: Verify Changed files | |
id: verify-changed-files | |
uses: tj-actions/verify-changed-files@v20 | |
with: | |
files: | | |
test-package/** | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
if: steps.verify-changed-files.outputs.files_changed == 'true' | |
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 }} |