Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoyard committed Aug 29, 2024
1 parent 263da18 commit cedf6e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rc_sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
echo "tmp_branch=$BRANCH" >> $GITHUB_ENV
git checkout -b "$BRANCH"
# Exclude some files known to be divergent during the release process from the PR
git checkout main -- catalyst/frontend/_version.py
git checkout main -- doc/dev/release_notes.rst
git checkout "main" -- catalyst/frontend/_version.py
git checkout "main" -- doc/dev/release_notes.rst
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git commit -m "exclude files from pr"
# check for new changes on the rc branch only, based on the diff between main and rc
if ! git diff main HEAD --quiet -- $(git diff --name-only main...HEAD); then
if ! git diff "main" HEAD --quiet -- $(git diff --name-only "main"...HEAD); then
echo "new_changes=true" >> $GITHUB_ENV
git push --set-upstream origin "$BRANCH"
fi
Expand Down

0 comments on commit cedf6e2

Please sign in to comment.