Skip to content

Support Plone 5.2. (Implements #77) #9

Support Plone 5.2. (Implements #77)

Support Plone 5.2. (Implements #77) #9

Workflow file for this run

name: Changelog check
on:
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetch all history
fetch-depth: '0'
- name: Install towncrier
run: pip install towncrier
- name: Check for presence of a Change Log fragment (only pull requests)
run: |
# Fetch the pull request' base branch so towncrier will be able to
# compare the current branch with the base branch.
# Source: https://github.com/actions/checkout/#fetch-all-branches.
git fetch --no-tags origin ${BASE_BRANCH}
towncrier check
env:
BASE_BRANCH: ${{ github.base_ref }}
if: github.event_name == 'pull_request'