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