Skip to content

Commit ad1d99b

Browse files
policyengine[bot]PolicyEngine-Botclaude
authored
Update GitHub Actions workflows to use main branch instead of master (#1471)
* Update GitHub Actions workflows to use main branch instead of master All workflow files have been updated to reference the main branch instead of master: - code_changes.yaml: Updated branch reference and comment - deploy.yml: Updated branch reference - pr_code_changes.yaml: Updated branch reference - pr_docs_changes.yaml: Updated branch reference - versioning.yaml: Updated branch reference All workflows already include .github/** in their paths, so they will run on changes to workflow files. Closes #1470 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Run make format 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: policyengine-bot <bot@policyengine.org> Co-authored-by: Claude <noreply@anthropic.com>
1 parent fa29179 commit ad1d99b

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/code_changes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Workflow that runs on code changes to the master branch.
1+
# Workflow that runs on code changes to the main branch.
22

33
name: Code changes
44
on:
55
push:
66
branches:
7-
- master
7+
- main
88

99
paths:
1010
- policyengine_uk/**

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Deploy documentation
55
on:
66
push:
77
# Runs on pushes targeting the default branch
8-
branches: [master]
8+
branches: [main]
99
env:
1010
# `BASE_URL` determines, relative to the root of the domain, the URL that your site is served from.
1111
# E.g., if your site lives at `https://mydomain.org/myproject`, set `BASE_URL=/myproject`.

.github/workflows/pr_code_changes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Code changes
44
on:
55
pull_request:
66
branches:
7-
- master
7+
- main
88

99
paths:
1010
- policyengine_uk/**

.github/workflows/pr_docs_changes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Docs changes
44
on:
55
pull_request:
66
branches:
7-
- master
7+
- main
88

99
paths:
1010
- docs/**

.github/workflows/versioning.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Workflow that runs on versioning metadata updates.
22

3-
name: Versioning updates
3+
name: Versioning updates
44
on:
55
push:
66
branches:
7-
- master
7+
- main
88

99
paths:
1010
- changelog_entry.yaml

policyengine_uk/microsimulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Third-party imports
55
import numpy as np
6-
from microdf import MicroDataFrame, MicroSeries
6+
from microdf import MicroDataFrame, MicroSeries
77

88
# PolicyEngine core imports
99
from policyengine_core.tracers import SimpleTracer

0 commit comments

Comments
 (0)