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

Commit 0bcbd5f

Browse files
committed
Simplify GHA workflow if statements
1 parent 2e36b87 commit 0bcbd5f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
release:
1717
name: "Release"
18-
if: ${{ github.ref == 'refs/heads/master' }}
18+
if: github.ref == 'refs/heads/master'
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: "Checkout code"

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
commits:
1414
name: "Commits"
15-
if: ${{ github.event_name == 'pull_request' }}
15+
if: github.event_name == 'pull_request'
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: "Checkout code"

0 commit comments

Comments
 (0)