Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t.sh
20 linesCodeBlameRaw
1name: Concurrency
2on:
3 pull_request:
4 types: [opened, synchronize, reopened, ready_for_review]
5concurrency:
6 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
7 cancel-in-progress: true
8jobs:
9 lint:
10 runs-on: ubuntu-latest
11 concurrency: lint-${{ github.ref }}
12 steps:
13 - run: echo lint
14 deploy-preview:
15 runs-on: ubuntu-latest
16 concurrency:
17 group: preview-${{ github.head_ref }}
18 cancel-in-progress: ${{ github.event.action != 'closed' }}
19 steps:
20 - run: echo preview