Skip to content

Commit

Permalink
Merge pull request #2802 from atlanhq/automate-pr-flow
Browse files Browse the repository at this point in the history
Automate pr flow
  • Loading branch information
ujala-singh authored Feb 1, 2024
2 parents 8a876e6 + 7afb30e commit 7af8fff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/chart-release-dispatcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
branches:
- master
- beta
- staging
types:
- completed

Expand All @@ -25,6 +24,13 @@ jobs:
id: extract_branch
run: |
echo "branch=${{ github.event.workflow_run.head_branch }}" >> $GITHUB_OUTPUT
- name: Extract Repository Name
id: extract_repo_name
run: |
repo_name=$(basename $GITHUB_REPOSITORY)
echo "repo_name=${repo_name}" >> $GITHUB_OUTPUT
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
Expand All @@ -34,7 +40,7 @@ jobs:
client-payload: |-
{
"repo": {
"name": "${{ github.repository }}",
"name": "${{ steps.extract_repo_name.outputs.repo_name }}",
"branch": "${{ steps.extract_branch.outputs.branch }}"
}
}

0 comments on commit 7af8fff

Please sign in to comment.