Skip to content

Release 5.0.2

Release 5.0.2 #1

Workflow file for this run

name: Notify style-forge
on:
pull_request:
types: [closed]
jobs:
notify:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Determine version update type
id: determine_version
run: echo "update_type=patch" >> $GITHUB_ENV
- name: Send notification to style-forge
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.PERSONAL_GITHUB_TOKEN }}" \
https://api.github.com/repos/sarmaged/style-forge/dispatches \
-d '{"event_type":"update-style-forge", "client_payload": {"update_type": "${{ env.update_type }}"}}'