generated from tj-actions/docker-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 924 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 }}