Skip to content

Commit

Permalink
Doc github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 13, 2024
1 parent a0ef0f2 commit e04ca76
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 19 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gh-travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
name: Travis
# Controls when the workflow will run
on:
# push:
# pull_request:
# workflow called by the parent workflow ci.yml
workflow_call:
inputs:
gh_event:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/phan.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
on:
# pull_request:
# push:
# schedule:
# # execute once a day, the 1st
# - cron: 10 9 * * *
# workflow called by the parent workflow ci.yml
workflow_call:
inputs:
gh_event:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
name: PHPStan
# Controls when the workflow will run
on:
# push:
# pull_request:
# workflow called by the parent workflow ci.yml
workflow_call:
inputs:
gh_event:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: pre-commit
on:
# pull_request:
# push:
# workflow called by the parent workflow ci.yml
workflow_call:
inputs:
gh_event:
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@
name: Win CI
# yamllint disable-line rule:truthy
on:
# push:
# pull_request:
# workflow called by the parent workflow ci.yml
workflow_call:
inputs:
gh_event:
required: true
type: string
# can run job manually
workflow_dispatch:
# Run if workflow is Travis is ok only
workflow_run:
workflows: ["Travis"]
types:
- completed

concurrency:
group: win-ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref
Expand All @@ -33,7 +27,6 @@ env:
GITHUB_JSON: ${{ toJSON(github) }} # Helps in debugging Github Action
jobs:
win-test:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
strategy:
matrix:
os: [windows-latest]
Expand Down

0 comments on commit e04ca76

Please sign in to comment.