chore: Add more steps to git-sumi action
Some checks failed
Rust CI / Rust CI (pull_request) Has been cancelled
Some checks failed
Rust CI / Rust CI (pull_request) Has been cancelled
This commit is contained in:
parent
52f8b313f4
commit
4e83ceca2e
1 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
name: Check PR title
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types:
|
||||||
|
@ -6,13 +8,15 @@ on:
|
||||||
- reopened
|
- reopened
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
check_pr_title:
|
||||||
runs-on: debian
|
runs-on: debian
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- run: |
|
- name: Install git-sumi
|
||||||
curl -L "https://github.com/welpo/git-sumi/releases/download/v0.0.6/git-sumi-x86_64-unknown-linux-gnu.tar.xz" -o git-sumi.tar.xz
|
run: |
|
||||||
|
curl -s -L "https://github.com/welpo/git-sumi/releases/download/v0.0.6/git-sumi-x86_64-unknown-linux-gnu.tar.xz" -o git-sumi.tar.xz
|
||||||
tar -xf git-sumi.tar.xz
|
tar -xf git-sumi.tar.xz
|
||||||
mv git-sumi-x86_64-unknown-linux-gnu/git-sumi git-sumi
|
mv git-sumi-x86_64-unknown-linux-gnu/git-sumi git-sumi
|
||||||
chmod +x git-sumi
|
chmod +x git-sumi
|
||||||
./git-sumi "${{ github.event.pull_request.title }}"
|
- name: Run git-sumi
|
||||||
|
run: ./git-sumi "${{ github.event.pull_request.title }}"
|
||||||
|
|
Loading…
Reference in a new issue