Skip to content

Commit

Permalink
(fix) Move changelog job to it's own workflow (rojo-rbx#720)
Browse files Browse the repository at this point in the history
- moved the job to its own workflow file
- changed the label to `skip changelog`
  • Loading branch information
Barocena authored Jul 9, 2023
1 parent ce50980 commit 04292c6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -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 }}
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 04292c6

Please sign in to comment.