Skip to content

Commit

Permalink
avoid running publish workflows on forked branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jertel committed Jun 1, 2024
1 parent 23aab84 commit e81d1a7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lock-threads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
with:
include-discussion-currently-open: true
discussion-inactive-days: 90
issue-inactive-days: 30
pr-inactive-days: 30
issue-inactive-days: 365
pr-inactive-days: 365
2 changes: 2 additions & 0 deletions .github/workflows/publish_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ env:

jobs:
push:
if: github.repository_owner == 'jertel'

environment: Main

runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

jobs:
deploy:
if: github.repository_owner == 'jertel'

environment: Main

runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/upload_chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

jobs:
publish:
if: github.repository_owner == 'jertel'

environment: Main
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

## Other changes
- [Docs] Fixed typo in Alerta docs with incorrect number of seconds in a day. - @jertel
- Update GitHub actions to avoid running publish workflows on forked branches. - @jertel

# 2.18.0

Expand Down

0 comments on commit e81d1a7

Please sign in to comment.