Skip to content

Commit

Permalink
workflow: Add expression if DB isn't updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisiswant0 committed Feb 20, 2022
1 parent 5070c81 commit af8252d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
fetch-depth: 0

- name: "Update DB..."
if: steps.check.isUpdated == 'false'
run: curl -kLo db/tlds.txt ${{ secrets.REMOTE_DB }}

- name: Create Pull Request
if: steps.check.isUpdated == 'false'
uses: peter-evans/create-pull-request@v3
with:
body: "Automated update TLDs data."
Expand Down

0 comments on commit af8252d

Please sign in to comment.