Skip to content

Commit

Permalink
Guyrenny patch 1 (#56)
Browse files Browse the repository at this point in the history
* fix sync action

* Update template.yaml

* Update synchronizing.yaml
  • Loading branch information
guyrenny authored Nov 2, 2023
1 parent bdc8207 commit 077a118
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/synchronizing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ jobs:

- name: apply changes to the files
run: |
if echo "${{ github.event.head_commit.message }}" | grep -q "#"; then
branch_name=$(echo "${{ github.event.head_commit.message }}" | cut -d '#' -f 2)
if echo "${{ github.event.head_commit.message }}" | grep -q "%"; then
branch_name=$(echo "${{ github.event.head_commit.message }}" | cut -d '%' -f 2)
else
branch_name=update_integration_branch
fi
Expand Down Expand Up @@ -135,11 +135,11 @@ jobs:
- name: Create pull request
run: |
if echo "${{ github.event.head_commit.message }}" | grep -q "#"; then
branch_name=$(echo "${{ github.event.head_commit.message }}" | cut -d '#' -f 2)
Pr_name=$(echo "${{ github.event.head_commit.message }}" | cut -d '#' -f 1)
if echo "${{ github.event.head_commit.message }}" | grep -q "%"; then
branch_name=$(echo "${{ github.event.head_commit.message }}" | cut -d '%' -f 2)
Pr_name=$(echo "${{ github.event.head_commit.message }}" | cut -d '%' -f 1)
else
branch_name=update_integration-branch
branch_name=update_integration_branch
Pr_name="${{ github.event.head_commit.message }}"
fi
pr_exists=$(gh pr list --base master --head "${branch_name}" --json number -q '.[].number')
Expand Down
3 changes: 2 additions & 1 deletion aws-integrations/firehose/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: Send Kinesis Firehose stream data to Coralogix.


Parameters:
CoralogixRegion:
Type: String
Expand Down Expand Up @@ -731,4 +732,4 @@ Outputs:
Description: The ARN for your Kinesis Firehose Delivery Stream, use this as the
destination when adding CloudWatch Metrics subscription filters
Value:
!GetAtt CoralogixDeliveryMetricsStream.Arn
!GetAtt CoralogixDeliveryMetricsStream.Arn

0 comments on commit 077a118

Please sign in to comment.