Skip to content

Commit

Permalink
[build] Fix workflows for branch rename (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
manugarg authored Dec 13, 2024
1 parent c4ac28b commit 79f851b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Pacparser

on:
push:
branches: [master]
branches: [main]
paths:
- "src/**"
- ".github/**"
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
name: Build and push multiarch docker image
if: |
github.repository == 'manugarg/pacparser' &&
(github.ref == 'refs/heads/master' || startswith(github.ref, 'refs/heads/docker') ||
(github.ref == 'refs/heads/main' || startswith(github.ref, 'refs/heads/docker') ||
startsWith(github.ref, 'refs/tags/v'))
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: SonarCloud
on:
push:
branches:
- master
- main
pull_request:
types: [opened, synchronize, reopened]
permissions: read-all
Expand Down

0 comments on commit 79f851b

Please sign in to comment.