Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Jun 19, 2024
1 parent 9f037b7 commit b335b93
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/update-cow-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,14 @@ jobs:
- name: Commit changes
if: env.CHANGES_DETECTED == 'true'
id: commit
run: |
git config --global user.name 'Your Name'
git config --global user.email '[email protected]'
git add Cargo.toml Cargo.lock
git commit -m "Update CoW dependencies to ${{ env.TAG }}"
git push --set-upstream origin update-cow-dependencies/${{ env.TAG }}
- name: Extract commit message
if: env.CHANGES_DETECTED == 'true'
run: |
echo "branch=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_OUTPUT
echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
echo "pr_body=Updated CoW dependencies to ${{ env.TAG }}" >> $GITHUB_OUTPUT
- name: Create Pull Request
Expand All @@ -70,5 +66,5 @@ jobs:
source_branch: ${{ steps.commit.outputs.branch }}
destination_branch: "main"
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_title: "Update CoW dependencies to ${{ env.TAG }}"
pr_title: "[test] Update CoW dependencies to ${{ env.TAG }}"
pr_body: "${{ steps.commit.outputs.pr_body }}"

0 comments on commit b335b93

Please sign in to comment.