File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -446,3 +446,24 @@ jobs:
446
446
commit -m "NGINX Ingress Controller - Release ${{ needs.checks.outputs.chart_version }}"
447
447
git push -u origin master
448
448
if : github.ref_type == 'tag'
449
+
450
+ operator :
451
+ name : Trigger PR for Operator
452
+ runs-on : ubuntu-22.04
453
+ needs : [checks, publish-helm]
454
+ steps :
455
+ - name :
456
+ uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
457
+ with :
458
+ github-token : ${{ secrets.NGINX_PAT }}
459
+ script : |
460
+ await github.rest.actions.createWorkflowDispatch({
461
+ owner: context.repo.owner,
462
+ repo: 'nginx-ingress-helm-operator',
463
+ workflow_id: 'sync-chart.yml',
464
+ ref: 'main',
465
+ inputs: {
466
+ chart_version: '${{ needs.checks.outputs.chart_version }}'
467
+ },
468
+ })
469
+ if : github.ref_type == 'tag'
You can’t perform that action at this time.
0 commit comments