summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pr-check.yml
blob: 22525ea1e424336409ffbac8dea7f60921905c98 (plain)
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
name: Run test commands

on:
  pull_request:
    branches: [ master ]

jobs:
  bump:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository
        uses: actions/checkout@v4
      - uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.0
        with:
          python-version: "3.12"
          command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
  towncrier:
    runs-on: ubuntu-latest
    if: ${{ github.actor != 'dependabot[bot]' }}
    steps:
      - uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.0
        with:
          python-version: "3.12"
          command: towncrier check --compare-with origin/master
          fetch-depth: 0