AAE-22635 Auto upstream for hxp (#9689)

* AAE-22635 Auto upstream for hxp

* use token

* use token with perms

* Run the trigger as part of release

* use token with perms
This commit is contained in:
Maurizio Vitale
2024-05-20 18:34:18 +01:00
committed by GitHub
parent 682f1673f6
commit 96e607b4de

View File

@@ -207,6 +207,26 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
propagate:
needs: [release-npm]
if: ${{ contains(toJson(github.event.pull_request.labels.*.name), 'hxp-upstream') }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: HxP upstream invoke
uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # v2.1.1
with:
repo: Alfresco/hxp-frontend-apps
ref: develop
workflow: upstream-adf.yml
token: ${{ secrets.ALFRESCO_BUILD_GH_TOKEN }}
wait-for-completion: false
inputs: >
{
"tag_version": "alpha"
}
npm-check-bundle:
needs: [release-npm]
timeout-minutes: 15