From 9618a7ce71c87a2777c40b53c656bf29778fdf9c Mon Sep 17 00:00:00 2001 From: Nicolas BRIERE Date: Fri, 9 Aug 2024 15:40:54 +0200 Subject: [PATCH] feat(gotoprod); init reusable workflow to create PR for GTP --- workflow-templates/gotoprod-pr.properties.json | 10 ++++++++++ workflow-templates/gotoprod-pr.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 workflow-templates/gotoprod-pr.properties.json create mode 100644 workflow-templates/gotoprod-pr.yaml diff --git a/workflow-templates/gotoprod-pr.properties.json b/workflow-templates/gotoprod-pr.properties.json new file mode 100644 index 0000000..9e5243f --- /dev/null +++ b/workflow-templates/gotoprod-pr.properties.json @@ -0,0 +1,10 @@ +{ + "name": "Go-To-Prod PR", + "description": "Go-To-Prod PR workflow template.", + "iconName": "octicon goal", + "categories": [ + "Automation", + "deployment", + "utilities" + ] +} \ No newline at end of file diff --git a/workflow-templates/gotoprod-pr.yaml b/workflow-templates/gotoprod-pr.yaml new file mode 100644 index 0000000..699779f --- /dev/null +++ b/workflow-templates/gotoprod-pr.yaml @@ -0,0 +1,10 @@ +name: Go-To-Prod PR + +on: + push: + branches: + - $default-branch + +jobs: + call-gotoprod-pr-workflow: + uses: ZeroGachis/.github/.github/workflows/create-gotoprod-pr.yml@v4