Skip to content

Commit

Permalink
Fix default branch for GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb authored May 2, 2024
1 parent 90d5dd4 commit 7327318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ name: Analysis
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
schedule:
- cron: '43 2 * * 6'
workflow_dispatch:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ name: CI
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

jobs:
prepare:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:

release:
name: Release
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/develop'
uses: ./.github/workflows/release.yml
permissions:
contents: write
Expand Down

0 comments on commit 7327318

Please sign in to comment.