Skip to content

Commit

Permalink
Update openMINDS_upstream.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
olinux authored Nov 13, 2023
1 parent b65ea37 commit d8aeced
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/openMINDS_upstream.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: openMINDS_upstream

on:
push:
branches:
- v4

on:
- push
- workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Trigger central repository
run: |
curl -XPOST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/HumanBrainProject/openMINDS/actions/workflows/build.yml/dispatches --data '{"ref": "main"}'
curl -XPOST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/openMetadataInitiative/openMINDS/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline", "inputs": {"branch": "${{github.ref_name}}", "repository": "${{ github.repository }}"}'

0 comments on commit d8aeced

Please sign in to comment.