Skip to content

Commit

Permalink
chore: fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed Jan 8, 2025
1 parent cac21e1 commit 54f771a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ scripts/skipPrepareScript.js
.eslintignore
.prettierignore
*.json
Dockerfile*
12 changes: 6 additions & 6 deletions .github/workflows/allure-test-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,21 @@ jobs:
run: |
# Wait a moment for gh-pages to update
sleep 10
# Create a temporary directory for gh-pages checkout
mkdir temp_gh_pages
cd temp_gh_pages
# Initialize git and fetch gh-pages
git init
git remote add origin https://github.com/rudderlabs/rudder-transformer.git
git fetch origin gh-pages
git checkout gh-pages
# Find the latest numbered directory
LATEST_NUM=$(find . -maxdepth 1 -type d -name "[0-9]*" | sort -n | tail -1 | sed 's/\.\///')
echo "number=${LATEST_NUM}" >> $GITHUB_OUTPUT
# Cleanup
cd ..
rm -rf temp_gh_pages
Expand All @@ -96,7 +96,7 @@ jobs:
const { owner, repo } = context.repo;
const prNumber = context.payload.pull_request.number;
const reportNumber = '${{ steps.report-number.outputs.number }}';
const commentBody = `Allure Test reports for this run are available at:
- Allure Report: https://rudderlabs.github.io/rudder-transformer/${reportNumber}/index.html`;
Expand All @@ -106,4 +106,4 @@ jobs:
repo,
issue_number: prNumber,
body: commentBody
});
});
6 changes: 3 additions & 3 deletions .github/workflows/build-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ jobs:
with:
ref: ${{ needs.get_sha.outputs.sha }}
fetch-depth: 1

- name: Login to DockerHub
uses: docker/login-action@v3.3.0
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PROD_TOKEN }}
password: ${{ secrets.DOCKERHUB_PROD_TOKEN }}

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.7.1
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
with:
ref: ${{ needs.get_sha.outputs.sha }}
fetch-depth: 1

- name: Login to DockerHub
uses: docker/login-action@v3.3.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-for-prod-ut-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ jobs:
git commit -m "chore: upgrade dedicated user transformers to $TAG_NAME"
git push -u origin dedicated-user-transformer-$TAG_NAME
gh pr create --fill
gh pr create --fill
2 changes: 1 addition & 1 deletion src/cdk/v2/destinations/reddit/rtWorkflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ steps:
const dontBatchTrueEvents = $.outputs.successfulEvents{.metadata.dontBatch}[];
const dontBatchFalseEvents = $.outputs.successfulEvents{!.metadata.dontBatch}[];
const dontBatchTrueEventsChunks = $.chunk(dontBatchTrueEvents, 1);
let batches = [...$.batchEvents(dontBatchFalseEvents), ...$.batchEventChunks(dontBatchTrueEventsChunks)];
batches@batch.({
"batchedRequest": {
Expand Down

0 comments on commit 54f771a

Please sign in to comment.