From b60a8d54c25a4c540616a57a90a0d49aac0af752 Mon Sep 17 00:00:00 2001 From: jorgechato Date: Sat, 28 Oct 2023 10:03:00 +0900 Subject: [PATCH] fix(ci): ignore changelog_ branch --- .github/workflows/changelog-tag.yaml | 4 +++- .github/workflows/release.yaml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changelog-tag.yaml b/.github/workflows/changelog-tag.yaml index 80dc14c..2b8e7f4 100644 --- a/.github/workflows/changelog-tag.yaml +++ b/.github/workflows/changelog-tag.yaml @@ -4,8 +4,10 @@ on: pull_request: branches: - main - - '!changelog_*' + - '!changelog_**' types: [closed] +permissions: + contents: write jobs: changelog-and-tag: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cece007..5dce07f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,6 +4,8 @@ on: push: tags: - 'v[0-9]+.[0-9]+.[0-9]+' +permissions: + contents: write jobs: release: