Skip to content

Commit 31b59e1

Browse files
authoredJul 10, 2020
Fix bug with readme action running on every issue creation (#24)
1 parent d4b3f31 commit 31b59e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/readme.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
ref: ${{ github.head_ref }}
1414
- run: 'echo "${{ github.event.issue.body }}" > temp.txt'
1515
- name: create-readme
16-
if: startsWith("Add handle", ${{ github.event.issue.title }})
16+
if: ${{ startsWith(github.event.issue.title, 'Add handle') }}
1717
uses: ./action
1818
- run: rm temp.txt
1919
- name: Create Pull Request
20-
if: startsWith("Add handle", ${{ github.event.issue.title }})
20+
if: ${{ startsWith(github.event.issue.title, 'Add handle') }}
2121
uses: peter-evans/create-pull-request@v2
2222
with:
2323
commit-message: ${{ github.event.issue.title }}

0 commit comments

Comments
 (0)
Failed to load comments.