Skip to content

Commit be0dca0

Browse files
authored
Merge pull request #4479 from vvbandeira/fix-quarterly-tag-drift
Fix quarterly tag drift between fork and upstream
2 parents 7ff3adf + 7b88bf1 commit be0dca0

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/github-actions-cron-sync-fork-from-upstream.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,10 @@ jobs:
4141
# You can also manually trigger a workflow dispatch with the force
4242
# value equal to 'true'.
4343
force: ${{ github.event.inputs.force || (secrets.UPSTREAM_SYNC == 'always overwrite master branch') }}
44+
# Quarterly release tags are only created upstream (see
45+
# github-actions-quarterly-tag.yml); mirror the exact tag object
46+
# here instead of letting this repo mint its own, which is what
47+
# caused tag drift (same commit, two different annotated tag
48+
# objects, breaking plain `git fetch` between the two remotes).
49+
syncTags: true
4450
deployKey: ${{ secrets.DEPLOY_KEY }}

‎.github/workflows/github-actions-quarterly-tag.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
create-tag:
1515
name: Create quarterly tag
1616
runs-on: ubuntu-latest
17+
if: github.repository == 'The-OpenROAD-Project/OpenROAD-flow-scripts'
1718
permissions:
1819
contents: write
1920
steps:

0 commit comments

Comments
 (0)