Remove the temporary testing workflow

This commit is contained in:
Šarūnas Nejus 2024-12-04 06:21:25 +00:00
parent 0f45791f3a
commit 555cf322db
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435

View file

@ -1,49 +0,0 @@
name: Temporarily test changelog formatting
on:
pull_request:
jobs:
build:
name: Get changelog
runs-on: ubuntu-latest
outputs:
changelog: ${{ steps.generate_changelog.outputs.changelog }}
steps:
- uses: actions/checkout@v4
- name: Install Python tools
uses: BrandonLWhite/pipx-install-action@v0.1.1
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: poetry
- name: Install dependencies
run: poetry install --with=release --extras=docs
- name: Install pandoc
run: sudo apt update && sudo apt install pandoc -y
- name: Obtain the changelog
id: generate_changelog
run: |
{
echo 'changelog<<EOF'
poe --quiet changelog
echo EOF
} >> "$GITHUB_OUTPUT"
test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
needs: build
env:
CHANGELOG: ${{ needs.build.outputs.changelog }}
steps:
- uses: mshick/add-pr-comment@v2
with:
message: |-
### Commit: ${{ github.sha }}
### Changelog:
${{ env.CHANGELOG }}