Skip to content

Commit

Permalink
Fix hive master check (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: jmasar <[email protected]>
Co-authored-by: jmasar <[email protected]>
  • Loading branch information
JumasJM and jmasar authored Feb 26, 2024
1 parent de2cc70 commit 875a6cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hive-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
uses: actions/checkout@v3

- name: Stable token
if: github.ref_type == 'branch' && endsWith(github.ref, '-stable')
if: github.ref_type == 'branch' && endsWith(github.base_ref, '-stable')
run: |
echo "HIVE_TOKEN=${{ secrets.HIVE_STABLE_LATEST_TOKEN }}" >> "$GITHUB_ENV"
- name: Master token
if: github.ref_type == 'branch' && startsWith(github.ref, 'refs/heads/master')
if: github.ref_type == 'branch' && github.base_ref == 'master'
run: |
echo "HIVE_TOKEN=${{ secrets.HIVE_MASTER_LATEST_TOKEN }}" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 875a6cb

Please sign in to comment.