Skip to content

Commit c022c95

Browse files
authored
Merge pull request #461 from bsipocz/GHA_adding_changelog_checker
CI: adding changelog checking GHA
2 parents 9e8f602 + 76112fc commit c022c95

2 files changed

Lines changed: 20 additions & 4 deletions

File tree

‎.github/workflows/changelog.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Changelog check
2+
3+
on:
4+
pull_request:
5+
types: [labeled, unlabeled, opened, synchronize, reopened]
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
changelog:
13+
name: Check changelog entry
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check change log entry
17+
uses: scientific-python/action-check-changelogfile@865ff8154dd94f008f08de6bb8d8c1f661113658
18+
env:
19+
CHANGELOG_FILENAME: CHANGES.rst
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎pyproject.toml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[tool.astropy-bot]
2-
[tool.astropy-bot.changelog_checker]
3-
filename = "CHANGES.rst"
4-
51
[build-system]
62

73
requires = ["setuptools",

0 commit comments

Comments
 (0)