From 4fbd568f48a596b3d1b68d7f8c00e818216c394e Mon Sep 17 00:00:00 2001 From: Julia Pampus Date: Wed, 7 Feb 2024 17:23:12 +0100 Subject: [PATCH 1/2] ci: fix typo --- .github/workflows/prevent-file-changes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prevent-file-changes.yml b/.github/workflows/prevent-file-changes.yml index e0bff8d..7b84dc5 100644 --- a/.github/workflows/prevent-file-changes.yml +++ b/.github/workflows/prevent-file-changes.yml @@ -8,7 +8,7 @@ on: jobs: check: - runs-on: ubunut-latest + runs-on: ubuntu-latest steps: - name: Prevent file change uses: xalvarez/prevent-file-change-action@v1 From c7e30ca05749b960746bd7dfb3bd4d8222545032 Mon Sep 17 00:00:00 2001 From: Julia Pampus Date: Thu, 8 Feb 2024 09:47:43 +0100 Subject: [PATCH 2/2] ci: remove duplicated workflow trigger --- .github/workflows/prevent-file-changes.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prevent-file-changes.yml b/.github/workflows/prevent-file-changes.yml index 7b84dc5..d24e6b9 100644 --- a/.github/workflows/prevent-file-changes.yml +++ b/.github/workflows/prevent-file-changes.yml @@ -2,9 +2,8 @@ name: Prevent Changes to Release Files on: pull_request: - types: [ opened ] - pull_request_target: - types: [ opened ] + branches: [ main ] + types: [opened, edited, synchronize, reopened, labeled, unlabeled] jobs: check: