diff --git a/.github/workflows/ohm.upstream-sync.yml b/.github/workflows/ohm.upstream-sync.yml index d09c69f68a..7619ca3356 100644 --- a/.github/workflows/ohm.upstream-sync.yml +++ b/.github/workflows/ohm.upstream-sync.yml @@ -17,9 +17,6 @@ jobs: run: shell: bash steps: - - name: Clear repository - run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE - - name: Check out our repository uses: actions/checkout@v4 env: @@ -52,7 +49,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: branch: 'the-sacrifice' - sha: "${GITHUB_SHA}" - name: List relevant branches & script directories run: | @@ -66,7 +62,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: fetch-depth: 0 - ref: 'the-sacrifice' + ref: "${GITHUB_SHA}" - name: List relevant branches & script directories run: |