Skip to content

Commit

Permalink
update packages PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mayur-sose committed Jan 15, 2025
1 parent af7a9ec commit f3c264d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/update-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: '0 0 * * 1' # Weekly on Mondays
push:
branches:
- wip # Trigger on pushes to wip branch
- wip
paths-ignore:
- .idea/**
- docs/**
Expand Down Expand Up @@ -49,9 +49,11 @@ jobs:

# Step 7: Create Unique Branch and Commit Changes
- name: Create Unique Branch
id: create-branch
run: |
TIMESTAMP=$(date +'%Y%m%d%H%M%S')
BRANCH_NAME="update-packages-${TIMESTAMP}"
echo "branch_name=${BRANCH_NAME}" >> $GITHUB_ENV
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b "$BRANCH_NAME"
Expand All @@ -64,9 +66,9 @@ jobs:
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ steps.create-unique-branch.outputs.branch_name }}
branch: ${{ env.branch_name }}
base: develop
title: Update packages.yml with latest versions (Run ${{ steps.create-unique-branch.outputs.branch_name }})
title: Update packages.yml with latest versions (Run ${{ env.branch_name }})
body: |
This pull request updates the `packages.yml` file with the latest stable versions of dependencies.
labels: dependencies

0 comments on commit f3c264d

Please sign in to comment.