From 7d8b3cb743b26f0dd2db13aa5627c0abc94ebf0d Mon Sep 17 00:00:00 2001 From: Thomas Bui <43018778+Thomas-Boi@users.noreply.github.com> Date: Mon, 31 Aug 2020 23:11:15 -0700 Subject: [PATCH] Update .github/workflows/build_icons.yml Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com> --- .github/workflows/build_icons.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_icons.yml b/.github/workflows/build_icons.yml index b47082a6..78cd0fc1 100644 --- a/.github/workflows/build_icons.yml +++ b/.github/workflows/build_icons.yml @@ -1,5 +1,13 @@ name: Build Icons -on: push +on: + # Trigger the workflow on push or pull request, + # but only for the master branch + push: + branches: + - master + pull_request: + branches: + - master jobs: build: @@ -22,4 +30,4 @@ jobs: - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: Built new icons, icomoon.json and devicon.css \ No newline at end of file + commit_message: Built new icons, icomoon.json and devicon.css