From 04292c6e3e43c3db6dcc79946fddbbc9c1f6ffdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F?= <34089907+Barocena@users.noreply.github.com> Date: Sun, 9 Jul 2023 04:30:59 +0300 Subject: [PATCH] (fix) Move changelog job to it's own workflow (#720) - moved the job to its own workflow file - changed the label to `skip changelog` --- .github/workflows/changelog.yml | 23 +++++++++++++++++++++++ .github/workflows/ci.yml | 15 --------------- 2 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/changelog.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 000000000..699152cce --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,23 @@ +name: Changelog Check + +on: + pull_request: + types: [assigned, opened, synchronize, reopened, labeled, unlabeled] + branches: + - master + +jobs: + build: + name: Check Actions + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Changelog check + uses: Zomzog/changelog-checker@v1.3.0 + with: + fileName: CHANGELOG.md + noChangelogLabel: skip changelog + checkNotification: Simple + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc018973e..b0e9fefe4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,18 +68,3 @@ jobs: - name: Clippy run: cargo clippy - Changelog: - name: Changelog Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Changelog check - - uses: Zomzog/changelog-checker@v1.3.0 - with: - fileName: CHANGELOG.md - noChangelogLabel: no changelog - checkNotification: Simple - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -