From 11d6a2a49066247047c14c26b3bf0e2e40dda13a Mon Sep 17 00:00:00 2001 From: not-jenni Date: Wed, 6 Apr 2022 00:15:59 -0700 Subject: [PATCH] Changes for testing on my fork --- .github/workflows/schedule_candidate_release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/schedule_candidate_release.yml b/.github/workflows/schedule_candidate_release.yml index ec44bf1c3dfd..4a71a3146a05 100644 --- a/.github/workflows/schedule_candidate_release.yml +++ b/.github/workflows/schedule_candidate_release.yml @@ -13,16 +13,15 @@ jobs: # Don't run this in everyone's forks. # if: github.repository == 'google/iree' steps: + - name: Checking out repository + uses: actions/checkout@v2 + with: + token: ${{ secrets.WRITE_ACCESS_TOKEN }} - name: Get the last green commit id: last_green_commit uses: talentpair/last-green-commit-action@master with: github-token: ${{ secrets.WRITE_ACCESS_TOKEN }} - - name: Checking out repository - uses: actions/checkout@v2 - with: - ref: ${{ steps.last_green_commit.outputs.result }} - token: ${{ secrets.WRITE_ACCESS_TOKEN }} - name: Compute version run: | @@ -40,7 +39,7 @@ jobs: uses: ad-m/github-push-action@v0.6.0 with: github_token: ${{ secrets.WRITE_ACCESS_TOKEN }} - branch: ${{ github.ref_name }} + branch: green-commit tags: true - name: Create Release