Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/update-dendrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
INT_BRANCH: dendrite-integration
TARGET_BRANCH: main
steps:

# Checkout both the target and integration branches
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand All @@ -45,6 +44,23 @@ jobs:
run: |
./tools/update_dendrite.sh

- name: Extract new dendrite package version
run: |
eval $(cat tools/dendrite_version | grep COMMIT)
echo "version=${COMMIT:0:7}" >> $GITHUB_OUTPUT
id: updated

- name: Commit changes
run: |
. ./tools/reflector/helpers.sh

PATHS=("tools/dendrite_version" "Cargo.toml" "Cargo.lock")
CHANGES=()
commit $TARGET_BRANCH $INT_BRANCH ${{ inputs.reflector_user_id }} PATHS CHANGES

echo "api=${CHANGES[0]}" >> $GITHUB_OUTPUT
id: committed

- name: Update pull request
env:
GH_TOKEN: ${{ inputs.reflector_access_token }}
Expand Down
Loading