From 6360043b7e9786eb3e9e921023ab8dd8a86b25c8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 22 Jan 2026 00:19:49 +0000 Subject: [PATCH] Limit push actions to the master branch --- .github/workflows/devcontainer.yml | 9 +++++---- .github/workflows/docker.yml | 6 ++++-- .github/workflows/lint.yml | 6 ++++-- .github/workflows/tests.yml | 6 ++++-- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml index 9b491e203..a1bd35149 100644 --- a/.github/workflows/devcontainer.yml +++ b/.github/workflows/devcontainer.yml @@ -1,8 +1,10 @@ -name: devcontainer +name: Development Container on: - - push - - pull_request + push: + branches: + - master + pull_request: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} @@ -14,7 +16,6 @@ jobs: steps: - name: Checkout (GitHub) uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - - name: Build and run dev container task uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417 with: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 97e864575..ce618c6be 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,7 +1,9 @@ name: Docker on: - - push - - pull_request + push: + branches: + - master + pull_request: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ac1bced54..a5c7524ed 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,9 @@ name: Lint on: - - push - - pull_request + push: + branches: + - master + pull_request: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6555c24ad..fcf3c6243 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,9 @@ name: Tests on: - - push - - pull_request + push: + branches: + - master + pull_request: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true -- 2.39.5