Skip to content

Commit 43dd831

Browse files
committed
Fix workflows for master -> main rename
1 parent 40fb27a commit 43dd831

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Safety Action Build And Publish
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66

77
env:
88
DOCKER_BUILDKIT: 1

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
needs: test
2929
runs-on: ${{ matrix.os }}
3030

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

3333
strategy:
3434
matrix:

.github/workflows/test-insecure.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Safety Action Insecure Tests
44

55
on:
66
push:
7-
branches: [master, develop]
7+
branches: [main, develop]
88

99
jobs:
1010
##### Auto mode tests

.github/workflows/test-secure.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Safety Action Secure Tests
55

66
on:
77
push:
8-
branches: [master, develop]
8+
branches: [main, develop]
99

1010
jobs:
1111
##### Auto mode tests

0 commit comments

Comments
 (0)