Skip to content

Commit bbd3963

Browse files
authored
Merge pull request #2781 from bsipocz/GHA_adding_changelog_checker
CI: adding changelog checker action
2 parents 97efa55 + 21bad4a commit bbd3963

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

.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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
[tool.astropy-bot]
2-
3-
[tool.astropy-bot.changelog_checker]
4-
filename = "CHANGES.rst"
5-
61
# astroquery still uses astropy-helpers
72
# but we include pyproject.toml here so that python -m build can
83
# work out of the box. In setup.py, we manually ensure that

0 commit comments

Comments
 (0)