Skip to content

Commit

Permalink
Up the timeout limits to stop false run cancellations
Browse files Browse the repository at this point in the history
  • Loading branch information
othyn committed Nov 22, 2023
1 parent f5a04d6 commit e7892ee
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/00-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 2
timeout-minutes: 5

steps:
- name: Checkout code
Expand All @@ -43,5 +43,5 @@ jobs:
- name: Commit any changes back to the repo
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[GitHub Actions Bot: Linting]"
commit_message: '[GitHub Actions Bot: Linting]'
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
4 changes: 2 additions & 2 deletions .github/workflows/10-calendars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Generate Calendars

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'

push:
branches:
Expand All @@ -19,7 +19,7 @@ jobs:
build:
name: Generate Calendars
runs-on: ubuntu-latest
timeout-minutes: 2
timeout-minutes: 5

steps:
- name: Checkout code
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/20-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy Site

on:
workflow_run:
workflows: ["Generate Calendars"]
workflows: ['Generate Calendars']
branches: [main]
types:
- completed
Expand All @@ -24,7 +24,7 @@ jobs:
deploy:
name: Deploy Site
runs-on: ubuntu-latest
timeout-minutes: 2
timeout-minutes: 5
if: ${{ github.event.workflow_run.conclusion == 'success' }}

environment:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Commit any changes back to the repo
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[GitHub Actions Bot: Publish Site Update]"
commit_message: '[GitHub Actions Bot: Publish Site Update]'
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>

- name: Setup Pages
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./pages/dist"
path: './pages/dist'

- name: Deploy to GitHub Pages
id: deployment
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/30-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Automated Release

on:
workflow_run:
workflows: ["Deploy Site"]
workflows: ['Deploy Site']
branches: [main]
types:
- completed
Expand All @@ -18,7 +18,7 @@ jobs:
build:
name: Automated Release
runs-on: ubuntu-latest
timeout-minutes: 2
timeout-minutes: 5
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
Expand All @@ -43,4 +43,4 @@ jobs:
tag_name: ${{ steps.version.outputs.v-version }}
files: dist/*
fail_on_unmatched_files: true
body: "🕒 This release was [automatically generated and released](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) at ${{ steps.date.outputs.date }}."
body: '🕒 This release was [automatically generated and released](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) at ${{ steps.date.outputs.date }}.'

0 comments on commit e7892ee

Please sign in to comment.