Skip to content

Commit ef0bdfe

Browse files
authored
Merge pull request #1 from aslanix/dev
run gh actions only on troupelang'
2 parents b7677fa + 1886d6d commit ef0bdfe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build_docker_image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: push
33
jobs:
44
publish_docker:
55
runs-on: ubuntu-latest
6-
if: github.ref == 'refs/heads/master'
6+
if: (github.ref == 'refs/heads/master') && (github.repository_owner == 'TroupeLang')
77
steps:
88
- uses: docker/login-action@v1
99
with:

.github/workflows/run_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on: [pull_request, push]
33
jobs:
44
build_and_test:
55
runs-on: ubuntu-22.04
6+
if: github.repository_owner == 'TroupeLang'
67
env:
78
STACK_OPTS: "--system-ghc"
89
TROUPE: ${{github.workspace}}

0 commit comments

Comments
 (0)