Skip to content

Commit

Permalink
Securing deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
sushiat committed Oct 31, 2023
1 parent 6b07fbf commit 357b659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: [workflow_dispatch]

jobs:
push_to_registry:
if: github.repository_owner == github.actor
if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
Expand Down

0 comments on commit 357b659

Please sign in to comment.