Gautam Peri e0dccfac05
All checks were successful
Notify Remote Repositores About a Release / create-new-issue-in-remote-repo (release) Successful in 13s
Update URL to HTML url
2025-05-16 06:27:43 +00:00

32 lines
1.1 KiB
YAML

# Create a new issue inside a target repository in AllSpice
name: Notify Remote Repositores About a Release
on:
release:
types: [published, edited, deleted]
jobs:
create-new-issue-in-remote-repo:
runs-on: ubuntu-latest
steps:
# Check out repository code
- name: "[📚->🖥️] Check out repository code"
uses: actions/checkout@v3
# Installs python requirements from the requirements.txt file
- name: "[🤼->🖥️] Install python requirements"
run: pip install -r .allspice/utils/requirements.txt
# Create a new issue in target repos
- name: Create a new issue in repos to notify about release
run: |
ALLSPICE_AUTH_TOKEN=${{ secrets.PAT }} \
python .allspice/utils/entrypoint.py \
"${{ allspice.repository }}" \
"${{ allspice.event.action }}" \
"${{ allspice.event.release.tag_name }}" \
"${{ allspice.event.release.name }}" \
"${{ allspice.event.release.html_url }}" \
"${{ allspice.event.release.body }}" \
.allspice/notify_repos.txt \
--allspice_hub_url "${{ allspice.server_url }}"