Skip to content

Prepare changelog for 0.12.0 #275

Prepare changelog for 0.12.0

Prepare changelog for 0.12.0 #275

Workflow file for this run

name: Changelog
on:
pull_request:
# should also be re-run when changing labels
types: [opened, reopened, labeled, unlabeled, synchronize]
env:
FRAGMENT_NAME: "docs/changes/${{ github.event.number }}.*.rst"
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check for news fragment
if: ${{ ! contains( github.event.pull_request.labels.*.name, 'no-changelog-needed')}}
uses: andstor/file-existence-action@v2
with:
files: ${{ env.FRAGMENT_NAME }}
fail: true