Skip to content

Commit

Permalink
gh: protect branch
Browse files Browse the repository at this point in the history
  • Loading branch information
shanefontaine committed May 14, 2024
1 parent b94bd7a commit acf8f49
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ name: Publish Packages to NPM if Necessary
on:
push:
branches:
- develop
- TODO
env:
BRANCH_NAME: ${{ github.ref_name }}

jobs:
debug:
if: false
runs-on: ubuntu-latest
steps:
- run: echo 'Debug'
3 changes: 1 addition & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Publish Packages to Docker Hub if Necessary
on:
push:
branches:
- develop
- production
- TODO
env:
DOCKER_TAG: ${{ (github.ref_name == 'develop' && 'unstable') || (github.ref_name == 'production' && 'latest') }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Packages to NPM if Necessary
on:
push:
branches:
- production
- TODO

jobs:
check-modified:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ui-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Build and Deploy Frontend UIs
on:
push:
branches:
- develop
- production
- TODO

jobs:
check-modified:
Expand Down

0 comments on commit acf8f49

Please sign in to comment.