From a4d3b16e65243d9a95d817f7b0e801cc97139285 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Tue, 19 Sep 2023 10:59:43 +0300 Subject: [PATCH] github/workflows: ditch softprops/turnstyle action Use github's built-in concurrency, instead. Signed-off-by: Markus Lehtonen --- .github/workflows/publish-docs.yml | 11 +++-------- .github/workflows/publish-helm-charts.yaml | 4 ++-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 9bef0509f..3b936f9f8 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -8,20 +8,15 @@ on: tags: - v* +concurrency: + group: gh-pages + jobs: update-gh-pages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: Turnstyle - uses: softprops/turnstyle@v1 - with: - abort-after-seconds: 600 - same-branch-only: false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Fetch gh-pages run: git fetch --no-tags --prune --depth=1 origin refs/heads/gh-pages:refs/heads/gh-pages diff --git a/.github/workflows/publish-helm-charts.yaml b/.github/workflows/publish-helm-charts.yaml index e14f467d5..444d4169b 100644 --- a/.github/workflows/publish-helm-charts.yaml +++ b/.github/workflows/publish-helm-charts.yaml @@ -6,7 +6,7 @@ on: - published concurrency: - group: ${{ github.workflow }} + group: gh-pages cancel-in-progress: false jobs: @@ -32,4 +32,4 @@ jobs: git push https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git gh-pages env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - shell: bash \ No newline at end of file + shell: bash