Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
Simplify GHA workflow if statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ruohola committed Feb 19, 2022
1 parent 03693b2 commit 9712656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
release:
name: "Release"
if: ${{ github.ref == 'refs/heads/master' }}
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
commits:
name: "Commits"
if: ${{ github.event_name == 'pull_request' }}
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
Expand Down

0 comments on commit 9712656

Please sign in to comment.