Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/ci-laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,17 @@ jobs:
php artisan key:generate
- name: Tests (Pest)
run: php artisan test

# The one check the ruleset of main asks for in a repository that calls this workflow: "ci / ci" is green only when
# no job above failed or was cancelled (a skipped one is fine). 5-desarrollo/github.md of RASGO OS.
ci:
needs: [branch, app, laravel]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Every job passed or was skipped
env:
RESULTS: ${{ join(needs.*.result, ' ') }}
run: |
echo "Resultados: $RESULTS"
case " $RESULTS " in *" failure "*|*" cancelled "*) echo "Algún paso del CI ha fallado."; exit 1 ;; esac
14 changes: 14 additions & 0 deletions .github/workflows/ci-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,17 @@ jobs:
run: npm run build
- name: Tests
run: npm test --if-present

# The one check the ruleset of main asks for in a repository that calls this workflow: "ci / ci" is green only when
# no job above failed or was cancelled (a skipped one is fine). 5-desarrollo/github.md of RASGO OS.
ci:
needs: [branch, node]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Every job passed or was skipped
env:
RESULTS: ${{ join(needs.*.result, ' ') }}
run: |
echo "Resultados: $RESULTS"
case " $RESULTS " in *" failure "*|*" cancelled "*) echo "Algún paso del CI ha fallado."; exit 1 ;; esac
14 changes: 14 additions & 0 deletions .github/workflows/ci-wordpress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,17 @@ jobs:
- name: Theme assets (if package.json exists)
run: |
if [ -f package.json ]; then npm ci && npm run build --if-present; fi

# The one check the ruleset of main asks for in a repository that calls this workflow: "ci / ci" is green only when
# no job above failed or was cancelled (a skipped one is fine). 5-desarrollo/github.md of RASGO OS.
ci:
needs: [branch, wordpress]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Every job passed or was skipped
env:
RESULTS: ${{ join(needs.*.result, ' ') }}
run: |
echo "Resultados: $RESULTS"
case " $RESULTS " in *" failure "*|*" cancelled "*) echo "Algún paso del CI ha fallado."; exit 1 ;; esac
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ jobs:
uses: rasgo-studio/.github/.github/workflows/ci-laravel.yml@main
```

The branch check asks for the code of a Plane task and a number (`ACME01WEB-23-contact-form`), as
`5-desarrollo/github.md` says. This repository is public: no client name, host or secret goes in it.
Each shared workflow ends with a job `ci` that is green only when nothing above failed, so a calling repository
reports one check, `ci / ci`: the one its ruleset asks for. The branch check asks for the code of a Plane task and a
number (`ACME01WEB-23-contact-form`), as `5-desarrollo/github.md` says. This repository is public: no client name, host or secret goes in it.
Loading