From 48dba0be50622b478e8964874a594211de3e7921 Mon Sep 17 00:00:00 2001 From: pomian <13592821+pomianowski@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:14:59 +0200 Subject: [PATCH] Update pipelines for main development (#1173) --- .github/workflows/wpf-ui-cd-extension.yaml | 2 ++ .github/workflows/wpf-ui-lock.yml | 22 +++++++++++----------- .github/workflows/wpf-ui-pr-validator.yaml | 4 +--- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/wpf-ui-cd-extension.yaml b/.github/workflows/wpf-ui-cd-extension.yaml index 8ae8bd31e..6e01ee14a 100644 --- a/.github/workflows/wpf-ui-cd-extension.yaml +++ b/.github/workflows/wpf-ui-cd-extension.yaml @@ -3,6 +3,8 @@ name: wpf-ui-cd-extension on: push: branches: [main] + paths: + - 'src/Wpf.Ui.Extension**` workflow_dispatch: diff --git a/.github/workflows/wpf-ui-lock.yml b/.github/workflows/wpf-ui-lock.yml index 7914cce8f..e47736a27 100644 --- a/.github/workflows/wpf-ui-lock.yml +++ b/.github/workflows/wpf-ui-lock.yml @@ -2,19 +2,19 @@ name: wpf-ui-lock on: schedule: - - cron: "0 0 * * *" + - cron: '0 * * * *' + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + discussions: write + +concurrency: + group: lock-threads jobs: - lock: + action: runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v5 - with: - # https://github.com/dessant/lock-threads - github-token: ${{ github.token }} - issue-inactive-days: "90" - exclude-issue-created-before: "" - exclude-any-issue-labels: "keep-unlocked, status:awaiting response" - add-issue-labels: "locked-due-to-inactivity" - issue-comment: "" - issue-lock-reason: "resolved" diff --git a/.github/workflows/wpf-ui-pr-validator.yaml b/.github/workflows/wpf-ui-pr-validator.yaml index 2d06c9322..c2e4fa698 100644 --- a/.github/workflows/wpf-ui-pr-validator.yaml +++ b/.github/workflows/wpf-ui-pr-validator.yaml @@ -2,9 +2,7 @@ name: wpf-ui-pr-validator on: pull_request: - branches: [development] - push: - branches: [development] + branches: [main] workflow_dispatch: