File: latest-changes.yml

package info (click to toggle)
python-odmantic 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,488 kB
  • sloc: python: 8,646; sh: 110; javascript: 45; makefile: 34; xml: 13
file content (29 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: latest-changes

on:
  pull_request_target:
    branches:
      - master
    types:
      - closed
  workflow_dispatch:
    inputs:
      number:
        description: PR number
        required: true

jobs:
  latest-changes:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
        with:
          token: ${{ secrets.GH_W_TOKEN }}
      - name: Disable LFS hooks
        run: rm .git/hooks/post-commit .git/hooks/pre-push
      - uses: tiangolo/latest-changes@0.4.1
        with:
          token: ${{ secrets.GH_W_TOKEN }}
          template_file: ./.github/latest-changes.jinja2
          latest_changes_file: ./CHANGELOG.md
          latest_changes_header: '## \[Unreleased\]\n\n'