diff --git a/.github/workflows/workflow.deploy.yml b/.github/workflows/workflow.deploy.yml index b76d83f..3081719 100644 --- a/.github/workflows/workflow.deploy.yml +++ b/.github/workflows/workflow.deploy.yml @@ -7,11 +7,19 @@ # Explore our open-source projects: {@link https://github.com/kurocado-studio} # on: + push: + branches: + - dev + - main workflow_call: secrets: fly_api_token: required: true +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/workflow.document.yml b/.github/workflows/workflow.document.yml index 5c69f25..c337b4a 100644 --- a/.github/workflows/workflow.document.yml +++ b/.github/workflows/workflow.document.yml @@ -9,6 +9,10 @@ on: workflow_call: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + permissions: contents: write pages: write diff --git a/.github/workflows/workflow.lint.yml b/.github/workflows/workflow.lint.yml index 2efe86d..ce37b00 100644 --- a/.github/workflows/workflow.lint.yml +++ b/.github/workflows/workflow.lint.yml @@ -9,6 +9,10 @@ on: workflow_call: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/workflow.release.yml b/.github/workflows/workflow.release.yml index 1b290a9..b927343 100644 --- a/.github/workflows/workflow.release.yml +++ b/.github/workflows/workflow.release.yml @@ -11,6 +11,10 @@ permissions: contents: write id-token: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: workflow_call: inputs: diff --git a/.github/workflows/workflow.test.yml b/.github/workflows/workflow.test.yml index 1ad1eb3..c868a18 100644 --- a/.github/workflows/workflow.test.yml +++ b/.github/workflows/workflow.test.yml @@ -9,6 +9,10 @@ on: workflow_call: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest