diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml index 0fa05d4361..4f171b0b6e 100644 --- a/.github/workflows/upstream-sync.yml +++ b/.github/workflows/upstream-sync.yml @@ -45,6 +45,6 @@ jobs: git fetch --tags 'upstream' spec_url="https://src.fedoraproject.org/rpms/selinux-policy/raw/f${FEDORA_VERSION}/f/selinux-policy.spec" - stable_commit=$(curl -Ls "${spec_url}" | grep -E '^%global commit [0-9a-eA-E]+$') + stable_commit=$(curl -Ls "${spec_url}" | grep -E '^%global commit [0-9a-fA-F]+$') git rebase "${stable_commit#%global commit }" git push --follow-tags --force-with-lease