Skip to content

Commit 6f60423

Browse files
Unified gh actions for pull and push
1 parent 6e6847a commit 6f60423

File tree

2 files changed

+3
-39
lines changed

2 files changed

+3
-39
lines changed

.github/workflows/pull_request.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/push.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: manage pushes
22

33
on:
4-
push:
5-
branches: [ master ]
4+
- push
5+
- pull_request
66

77
jobs:
88
linux:
@@ -94,6 +94,7 @@ jobs:
9494
path: ./fastfetch-*.*
9595

9696
release:
97+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
9798
name: Release
9899
runs-on: ubuntu-latest
99100
needs:

0 commit comments

Comments
 (0)