From 16e9bf74a52fc23e2b3fe69390d1911becb8b284 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 27 Jul 2024 03:49:53 +0200 Subject: [PATCH] ci: Format & simplify names & commit message --- .../workflows/{update-documentation.yml => update.yml} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename .github/workflows/{update-documentation.yml => update.yml} (73%) diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update.yml similarity index 73% rename from .github/workflows/update-documentation.yml rename to .github/workflows/update.yml index a06e8af..5628690 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update.yml @@ -1,4 +1,4 @@ -name: Update documentation +name: Update on: repository_dispatch: @@ -6,17 +6,19 @@ on: jobs: build: - name: Update documentation + name: Update runs-on: ubuntu-latest steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 + - name: Update submodule run: git submodule update --init --recursive --remote repositories/${{ github.event.client_payload.repo }} + - name: Commit changes uses: EndBug/add-and-commit@v9 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 default_author: user_info author_name: ReVanced Bot