Skip to content

Commit

Permalink
ci: update dependabot pipeline (solana-labs#1496)
Browse files Browse the repository at this point in the history
* ci: use pull_request_target for dependabot pr pipeline

* use both strict rule and loose rule

* upper-case

* Revert "ci: use pull_request_target for dependabot pr pipeline"

This reverts commit 8745388.
  • Loading branch information
yihau authored May 27, 2024
1 parent ff21dbe commit fae454a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dependabot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
new_version="${BASH_REMATCH[3]}"
echo "crate_name: $crate_name, old_version: $old_version, new_version: $new_version"
./scripts/cargo-for-all-lock-files.sh -- update -p $crate_name:$old_version --precise $new_version
./scripts/cargo-for-all-lock-files.sh -- tree
./scripts/cargo-for-all-lock-files.sh -- update -p $crate_name:$old_version --precise $new_version || \
./scripts/cargo-for-all-lock-files.sh -- update -p $crate_name --precise $new_version
- name: push
run: |
Expand All @@ -43,6 +43,6 @@ jobs:
git config user.email "49699333+dependabot[bot]@users.noreply.github.com"
git config user.name "dependabot[bot]"
git add **/Cargo.lock
git commit -am "update all Cargo files"
git commit -am "Update all Cargo files"
git push
fi

0 comments on commit fae454a

Please sign in to comment.