From 5a51da344f3dfef599ce8642cd0f102b43c5b13b Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 9 Jun 2023 20:35:09 +0100 Subject: [PATCH] ci: apply changes to windows workflow as well --- .github/workflows/windows.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9ba2547f99..a8f519764d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,6 +7,15 @@ on: pull_request: branches: - 2.x + - "!v[0-9]*" + +# Remove default permissions of GITHUB_TOKEN for security +# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs +permissions: {} + +concurrency: + group: ${{ github.workflow }}-${{ github.event.number || github.sha }} + cancel-in-progress: ${{ github.event_name != 'push' }} jobs: setup: