Skip to content

Commit 6360043

Browse files
committed
Limit push actions to the master branch
1 parent e6a1f90 commit 6360043

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

.github/workflows/devcontainer.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: devcontainer
1+
name: Development Container
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
- master
7+
pull_request:
68

79
concurrency:
810
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
@@ -14,7 +16,6 @@ jobs:
1416
steps:
1517
- name: Checkout (GitHub)
1618
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
17-
1819
- name: Build and run dev container task
1920
uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417
2021
with:

.github/workflows/docker.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Docker
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- master
6+
pull_request:
57
concurrency:
68
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
79
cancel-in-progress: true

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Lint
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- master
6+
pull_request:
57
concurrency:
68
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
79
cancel-in-progress: true

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Tests
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- master
6+
pull_request:
57
concurrency:
68
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
79
cancel-in-progress: true

0 commit comments

Comments
 (0)