From e7892eea573c6e222936abf6a38ffd4e4c4a9c0c Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 22 Nov 2023 10:31:13 +0000 Subject: [PATCH] Up the timeout limits to stop false run cancellations --- .github/workflows/00-lint.yml | 4 ++-- .github/workflows/10-calendars.yml | 4 ++-- .github/workflows/20-site.yml | 8 ++++---- .github/workflows/30-release.yml | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/00-lint.yml b/.github/workflows/00-lint.yml index fb86ce4c..214b3918 100644 --- a/.github/workflows/00-lint.yml +++ b/.github/workflows/00-lint.yml @@ -17,7 +17,7 @@ jobs: lint: name: Lint runs-on: ubuntu-latest - timeout-minutes: 2 + timeout-minutes: 5 steps: - name: Checkout code @@ -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> diff --git a/.github/workflows/10-calendars.yml b/.github/workflows/10-calendars.yml index 4afa7513..05159728 100644 --- a/.github/workflows/10-calendars.yml +++ b/.github/workflows/10-calendars.yml @@ -2,7 +2,7 @@ name: Generate Calendars on: schedule: - - cron: "0 0 * * *" + - cron: '0 0 * * *' push: branches: @@ -19,7 +19,7 @@ jobs: build: name: Generate Calendars runs-on: ubuntu-latest - timeout-minutes: 2 + timeout-minutes: 5 steps: - name: Checkout code diff --git a/.github/workflows/20-site.yml b/.github/workflows/20-site.yml index 0088f57b..59547413 100644 --- a/.github/workflows/20-site.yml +++ b/.github/workflows/20-site.yml @@ -2,7 +2,7 @@ name: Deploy Site on: workflow_run: - workflows: ["Generate Calendars"] + workflows: ['Generate Calendars'] branches: [main] types: - completed @@ -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: @@ -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 @@ -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 diff --git a/.github/workflows/30-release.yml b/.github/workflows/30-release.yml index ea6fc79b..eefe4040 100644 --- a/.github/workflows/30-release.yml +++ b/.github/workflows/30-release.yml @@ -2,7 +2,7 @@ name: Automated Release on: workflow_run: - workflows: ["Deploy Site"] + workflows: ['Deploy Site'] branches: [main] types: - completed @@ -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: @@ -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 }}.'