Skip to content

Commit

Permalink
ci: add a link between release and discussion (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Dec 17, 2023
2 parents 529f058 + 0fc216d commit e505ce2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
name: pypi
url: https://pypi.org/project/mkdocs-rss-plugin/
permissions:
contents: write
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing

discussions: write

steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +31,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade -r requirements.txt
python -m pip install --upgrade build
Expand Down Expand Up @@ -60,6 +61,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
discussion_category_name: announcements
fail_on_unmatched_files: true
files: dist/*
generate_release_notes: true

0 comments on commit e505ce2

Please sign in to comment.