Skip to content

Commit

Permalink
Fix workflows for master -> main rename
Browse files Browse the repository at this point in the history
  • Loading branch information
cb22 committed Oct 5, 2022
1 parent 40fb27a commit 43dd831
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Safety Action Build And Publish

on:
push:
branches: [master]
branches: [main]

env:
DOCKER_BUILDKIT: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
needs: test
runs-on: ${{ matrix.os }}

if: contains(fromJson('["refs/heads/master", "refs/heads/develop", "refs/heads/binaries-fixes"]'), github.ref) || startsWith(github.ref, 'refs/tags')
if: contains(fromJson('["refs/heads/main", "refs/heads/develop", "refs/heads/binaries-fixes"]'), github.ref) || startsWith(github.ref, 'refs/tags')

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-insecure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Safety Action Insecure Tests

on:
push:
branches: [master, develop]
branches: [main, develop]

jobs:
##### Auto mode tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Safety Action Secure Tests

on:
push:
branches: [master, develop]
branches: [main, develop]

jobs:
##### Auto mode tests
Expand Down

0 comments on commit 43dd831

Please sign in to comment.