OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/.github/workflows/continuous-delivery.yml

26 lines
784 B

name: continuous-delivery
on:
push:
branches:
- dev
- release/*
permissions:
contents: read
jobs:
trigger_downstream_workflow:
permissions:
contents: none
if: github.repository == 'opf/openproject'
runs-on: ubuntu-latest
steps:
- name: Trigger downstream workflow
env:
TOKEN: ${{ secrets.OPENPROJECT_CI_TOKEN }}
SAAS_CD_WORKFLOW_ID: continuous-delivery-saas.yml
SAAS_REPOSITORY: opf/saas-openproject
run: |
curl -i --fail -H"authorization: Bearer $TOKEN" \
-XPOST -H"Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/$SAAS_REPOSITORY/actions/workflows/$SAAS_CD_WORKFLOW_ID/dispatches \
-d '{"ref": "${{ github.ref }}"}'