mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Auto-cancel previous runs on the same branch
This commit is contained in:
6
.github/workflows/e2e-tests.yml
vendored
6
.github/workflows/e2e-tests.yml
vendored
@@ -13,10 +13,14 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
db: ['mssql', 'mysql', 'postgres', 'maria', 'sqlite3']
|
||||
node-version: [ '12-alpine', '14-alpine', '15-alpine' ]
|
||||
node-version: ['12-alpine', '14-alpine', '15-alpine']
|
||||
env:
|
||||
CACHED_IMAGE: ghcr.io/directus/directus-e2e-test-cache:${{ matrix.node-version }}
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.9.0
|
||||
with:
|
||||
access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
|
||||
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
@@ -13,6 +13,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.9.0
|
||||
with:
|
||||
access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
|
||||
Reference in New Issue
Block a user