Add release note assistant action #25

Open
opened 2025-01-14 13:26:41 +00:00 by natct · 3 comments
Contributor
No description provided.
Owner

There will also be a need for a workflow to publish the release?

There will also be a need for a workflow to publish the release?
Owner

Is this repository meant to be released at all, I wonder?

- name: publish
if: github.event_name == 'push'
run: |
set -x # secrets.TOKEN will be redacted
commit_message="$(git --no-pager show --format=format:%s -s ${{ github.event.sha }})"
git clone https://code.forgejo.org/f3/html-documentation.git /tmp/doc
rm -fr /tmp/doc/*
cp -a doc/_build/html/* /tmp/doc/
cd /tmp/doc
git add .
git config --global user.email "contact@forgefriends.org"
git config --global user.name "F3 Authors"
if git commit -m "${commit_message}" ; then
git push https://anyuser:${{ secrets.TOKEN }}@code.forgejo.org/f3/html-documentation HEAD:main
else
echo no update, do nothing
fi

Is this repository meant to be released at all, I wonder? https://code.forgejo.org/f3/f3-documentation/src/commit/aae28166b3c03312e3dba52239b3de4412aac300/.forgejo/workflows/pr.yml#L24-L40
Author
Contributor

@limiting-factor wrote in #25 (comment):

Is this repository meant to be released at all, I wonder?

Yes, I am not sure about that.

@limiting-factor wrote in https://code.forgejo.org/f3/f3-documentation/issues/25#issuecomment-29323: > Is this repository meant to be released at all, I wonder? Yes, I am not sure about that.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
f3/f3-documentation#25
No description provided.