main (#3391)
* ci(actions): Update pr description Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com> * ci(actions): run only on pull request merge Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com> --------- Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
3a1635d81f
commit
a05dce8125
2 changed files with 5 additions and 12 deletions
3
.github/workflows/patch-build.yaml
vendored
3
.github/workflows/patch-build.yaml
vendored
|
|
@ -147,8 +147,7 @@ jobs:
|
||||||
pr_title: "Updated patch build from main ${{ env.HEAD_COMMIT_ID }}"
|
pr_title: "Updated patch build from main ${{ env.HEAD_COMMIT_ID }}"
|
||||||
pr_body: |
|
pr_body: |
|
||||||
This PR updates the Helm chart version after building the patch from $HEAD_COMMIT_ID.
|
This PR updates the Helm chart version after building the patch from $HEAD_COMMIT_ID.
|
||||||
Once this PR is merged, To update the latest tag, run the following workflow.
|
Once this PR is merged, tag update job will run automatically.
|
||||||
https://github.com/openreplay/openreplay/actions/workflows/update-tag.yaml
|
|
||||||
|
|
||||||
# - name: Debug Job
|
# - name: Debug Job
|
||||||
# if: ${{ failure() }}
|
# if: ${{ failure() }}
|
||||||
|
|
|
||||||
12
.github/workflows/update-tag.yaml
vendored
12
.github/workflows/update-tag.yaml
vendored
|
|
@ -1,21 +1,15 @@
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
pull_request:
|
||||||
inputs:
|
types: [closed]
|
||||||
services:
|
|
||||||
description: "This action will update the latest tag with current main branch HEAD. Should I proceed ? true/false"
|
|
||||||
required: true
|
|
||||||
default: "false"
|
|
||||||
push:
|
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
name: Release tag update --force
|
name: Release tag update --force
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: Build Patch from main
|
name: Build Patch from main
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event_name == 'push' || github.event.inputs.services == 'true' }}
|
if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || github.event.inputs.services == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue