diff --git a/.github/workflows/authors.yml b/.github/workflows/authors.yml index 14df2a9cc3..8df60c890f 100644 --- a/.github/workflows/authors.yml +++ b/.github/workflows/authors.yml @@ -20,8 +20,8 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - run: sudo apt -y install git - - name: Export known authors from master branch - run: git log --format="%an <%ae>" origin/master | sort | uniq > authors.txt + - name: Export known authors from main branch + run: git log --format="%an <%ae>" origin/main | sort | uniq > authors.txt - name: Export authors from new commits run: git log --format="%an <%ae>" ${{ github.event.pull_request.base.sha }}... | sort | uniq > commit-authors.txt - name: Check new authors diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 17a21f9dd8..8244989fc9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,13 +2,13 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: [ main ] paths-ignore: - "doc/**" - "etc/schema.json" pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] paths-ignore: - "doc/**" - "etc/schema.json" diff --git a/.github/workflows/codeqlpy.yml b/.github/workflows/codeqlpy.yml index a68d4f8d53..0ce04e7789 100644 --- a/.github/workflows/codeqlpy.yml +++ b/.github/workflows/codeqlpy.yml @@ -2,13 +2,13 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: [ main ] paths: - "python/**" - "**/*.py" pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] paths: - "python/**" - "**/*.py" diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 30270588d9..e6832064ea 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -4,7 +4,7 @@ on: push: # Only run on pushes to pull request branches branches-ignore: - - 'master' + - 'main' - 'master-*' paths-ignore: - "doc/**" diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index 7e8d2d6015..ddbcf085c2 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -5,7 +5,7 @@ on: schedule: - cron: '28 22 * * 6' push: - branches: [ master ] + branches: [ main ] concurrency: group: ${{ github.workflow }}-${{ github.ref }}