ci: Format & simplify names & commit message

This commit is contained in:
oSumAtrIX 2024-07-27 03:49:53 +02:00 committed by GitHub
parent 78b6f326b2
commit 16e9bf74a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
name: Update documentation name: Update
on: on:
repository_dispatch: repository_dispatch:
@ -6,17 +6,19 @@ on:
jobs: jobs:
build: build:
name: Update documentation name: Update
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Update submodule - name: Update submodule
run: git submodule update --init --recursive --remote repositories/${{ github.event.client_payload.repo }} run: git submodule update --init --recursive --remote repositories/${{ github.event.client_payload.repo }}
- name: Commit changes - name: Commit changes
uses: EndBug/add-and-commit@v9 uses: EndBug/add-and-commit@v9
with: with:
message: 'chore: update docs for ${{ github.event.client_payload.repo }} to ${{github.event.client_payload.ref}}' message: 'chore: Update ${{ github.event.client_payload.repo }} documentation to ${{github.event.client_payload.ref}}'
fetch: false fetch: false
default_author: user_info default_author: user_info
author_name: ReVanced Bot author_name: ReVanced Bot