Skip to content

Commit

Permalink
Fix checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Oct 11, 2023
1 parent f88f3e4 commit 0ebbf16
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
schedule:
- cron: '0 0 * * *'
# Uncomment to test in PRs (its safe)
pull_request:
# pull_request:

permissions:
contents: write
Expand All @@ -29,7 +29,7 @@ jobs:
outputs:
publish:
${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' ||
contains(github.ref, 'develop-') || github.ref == 'master' }}
contains(github.ref, 'develop-') || github.ref_name == 'master' }}
nightly: ${{ steps.plan-step.outputs.nightly }}
npm-channel: ${{ steps.plan-step.outputs.npm-channel }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-stub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
steps:
- run: 'echo "Not affected, skipping"'
coverage:
if: ${{ contains(github.ref, 'develop-') || endsWith(github.ref, 'master') }}
if: ${{ contains(github.ref, 'develop-') || github.ref_name == 'master' }}
name: Code coverage
runs-on: ubuntu-latest
needs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
path: ./report.txt
if-no-files-found: error
coverage:
if: ${{ contains(github.ref, 'develop-') || endsWith(github.ref, 'master') }}
if: ${{ contains(github.ref, 'develop-') || github.ref_name == 'master' }}
name: Code coverage
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 0ebbf16

Please sign in to comment.