Update pr-convention safdasdfsd #12
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: PR Title Validation | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
jobs: | |
title-check: | |
runs-on: ubuntu-latest | |
outputs: | |
SUGGESTED_TITLE: ${{ steps.suggest-title.outputs.SUGGESTED_TITLE }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
suggested_title="$type( suggested title: $SUGGESTED_TITLE" | |
- name: Install rust-script | |
run: | | |
cargo install cargo-criterion rust-script | |
- name: Check Degradation | |
run: rust-script scripts/pr_name_check |