diff options
author | Vitor Mattos <vitor@php.rio> | 2023-03-02 22:56:43 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2023-03-02 23:18:27 -0300 |
commit | 011c87940d03fc03030aa167240c1abeed3c3fe4 (patch) | |
tree | 7a266734dd3e8e8f484a6a7eb91f19d08a48397d /.github | |
parent | 248e8b28220dfda0630469b450bdb1f0524afb69 (diff) |
Rename the GitHub Action
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/occ-command-documentation.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/occ-command-documentation.yml b/.github/workflows/occ-command-documentation.yml index 9f439a25a..b6e653191 100644 --- a/.github/workflows/occ-command-documentation.yml +++ b/.github/workflows/occ-command-documentation.yml @@ -1,4 +1,4 @@ -name: Occ command documentation +name: Documentation on: pull_request: @@ -24,11 +24,11 @@ permissions: contents: read concurrency: - group: occ-command-documentation-${{ github.head_ref || github.run_id }} + group: occ-commands-${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: - occ-command-documentation: + occ-commands: runs-on: ubuntu-latest strategy: @@ -88,4 +88,5 @@ jobs: id: check_documentation run: | ./occ talk:developer:update-docs - bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Documentation outdated. Run the command talk:developer:update-docs locally, commit the occ.md file and push the changes.' && exit 1)" + cd apps/${{ env.APP_NAME }} + bash -c "[[ ! \"`git status --porcelain `\" ]] || (cat docs/occ.md && echo 'Documentation outdated. Run the command talk:developer:update-docs locally, commit the occ.md file and push the changes.' && exit 1)" |