Skip to content

chore(main): release 1.1.0 #8

chore(main): release 1.1.0

chore(main): release 1.1.0 #8

name: "Notify repository dotfiles"
on:
push:
branches:
- main
workflow_dispatch: # Allows manual triggering from source repo lelouvincx/nvim
jobs:
notify:
name: "Notify repository dotfiles"
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: "Call out repository"
env:
PARENT_REPO: lelouvincx/dotfiles
PARENT_BRANCH: main
WORKFLOW_ID: 136915913 # ID of the workflow to trigger
# https://github.com/lelouvincx/dotfiles/actions/workflows/update-submodule.yml
run: |
curl -fL --retry 3 -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: bearer ${{ secrets.CI_TOKEN }}" https://api.github.com/repos/${{ env.PARENT_REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches -d '{"ref":"${{ env.PARENT_BRANCH }}"}'