fix: missing beautifulsoup dependency #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notify Spot Repository of Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
notify-external-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger Repository Dispatch Event | |
env: | |
REPOSITORY_ACCESS: ${{ secrets.REPOSITORY_ACCESS }} | |
REPO_TAG: ${{github.event.release.tag_name}} | |
run: | | |
# Extract the repository name from the full GITHUB_REPOSITORY environment variable (format "owner/repo") | |
REPO_NAME="${GITHUB_REPOSITORY#*/}" | |
# The target repository where you want to trigger the dispatch event | |
TARGET_OWNER="exorde-labs" | |
TARGET_REPO="spot" | |
echo "REPO_NAME = '$REPO_NAME'" | |
DATA="{\"event_type\": \"trigger-build-event\", \"client_payload\": {\"moduleName\": \"$REPO_NAME\", \"moduleTag\": \"$REPO_TAG\"}}" | |
echo "DATA = '$DATA'" | |
# Trigger a repository dispatch event in the target repository | |
curl -X POST \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-H "Authorization: token $REPOSITORY_ACCESS" \ | |
"https://api.github.com/repos/${TARGET_OWNER}/${TARGET_REPO}/dispatches" \ | |
-d "$DATA" |