Skip to content

Commit

Permalink
Cancel CI tasks after 30 minutes (#7417)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed May 13, 2024
1 parent 5b853a0 commit 6ee3afa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/crowdin-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ jobs:
upload_sources:
name: Upload Sources
runs-on: ubuntu-18.04
timeout-minutes: 30

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Merge all translation files
run: jq -s '.|add' src/Sulu/Bundle/*/Resources/translations/admin.*.json > admin.en.json

- name: Download Crowdin CLI
run: curl "https://downloads.crowdin.com/cli/v3/crowdin-cli.zip" --output crowdin-cli.zip && unzip crowdin-cli.zip

- name: Upload translations to crowdin
env:
CROWDIN_TOKEN: ${{ secrets.CrowdinToken }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
js-css:
name: "Node ${{ matrix.node-version }}"
runs-on: ubuntu-latest
timeout-minutes: 30

strategy:
fail-fast: false
Expand Down Expand Up @@ -81,6 +82,7 @@ jobs:
js-lint:
name: "Node Lint"
runs-on: ubuntu-latest
timeout-minutes: 30

env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -117,6 +119,7 @@ jobs:
php:
name: "PHP ${{ matrix.php-version }} (${{ matrix.database }}, ${{ matrix.phpcr-transport }}, ${{ matrix.dependency-versions }})"
runs-on: ubuntu-latest
timeout-minutes: 30

env:
APP_ENV: test
Expand Down Expand Up @@ -238,6 +241,7 @@ jobs:
php-lint:
name: "PHP Lint"
runs-on: ubuntu-latest
timeout-minutes: 30

env:
APP_ENV: test
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/trigger-styleguide-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
trigger-styleguide-build:
name: Trigger styleguide build
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Trigger styleguide build
uses: benc-uk/workflow-dispatch@v1
Expand Down

0 comments on commit 6ee3afa

Please sign in to comment.