Skip to content

Commit

Permalink
ci: 🎡 point workflow on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
matteovivona committed Oct 15, 2024
1 parent 236c8d2 commit 1882f6f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Changesets
on:
push:
branches:
- master
- main

permissions:
contents: read
Expand Down Expand Up @@ -64,4 +64,4 @@ jobs:
publish: pnpm release
createGithubReleases: true
commit: "chore: version release"
title: "Version Release"
title: "Version Release"
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: ["master"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["master"]
branches: ["main"]
schedule:
- cron: "0 0 * * 1"

Expand Down Expand Up @@ -75,4 +75,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
category: "/language:${{matrix.language}}"
category: "/language:${{matrix.language}}"
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: ["master"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["master"]
branches: ["main"]
schedule:
- cron: "0 0 * * 1"

Expand Down Expand Up @@ -75,4 +75,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
category: "/language:${{matrix.language}}"
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
schedule:
- cron: '25 10 * * 1'
push:
branches: [ "master" ]
branches: [ "main" ]

# Declare default permissions as read only.
permissions: read-all
Expand Down Expand Up @@ -74,4 +74,4 @@ jobs:
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
sarif_file: results.sarif
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test
on:
push:
branches:
- master
- main
pull_request:

env:
Expand Down Expand Up @@ -72,4 +72,4 @@ jobs:
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TEST_REPORTER_ID }}
with:
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov

0 comments on commit 1882f6f

Please sign in to comment.