Skip to content

Commit 87aaa66

Browse files
committed
chore: switch default branch references to main
1 parent c5b7d25 commit 87aaa66

7 files changed

Lines changed: 31 additions & 31 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
workflow_dispatch:
99

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: ["master"]
16+
branches: ["main"]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: ["master"]
19+
branches: ["main"]
2020
schedule:
2121
- cron: "23 10 * * 1"
2222

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
55
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
66

77
# gem 'html2rss', '~> 0.14'
8-
gem 'html2rss', github: 'html2rss/html2rss', branch: :master
8+
gem 'html2rss', github: 'html2rss/html2rss', branch: :main
99
gem 'html2rss-configs', github: 'html2rss/html2rss-configs'
1010

1111
# Use these instead of the two above (uncomment them) when developing locally:

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GIT
22
remote: https://github.com/html2rss/html2rss
33
revision: e0dca5bf74b17c1e2a0618fc0a4af27c16da1883
4-
branch: master
4+
branch: main
55
specs:
66
html2rss (0.17.0)
77
addressable (~> 2.7)

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![html2rss logo](https://github.com/html2rss/html2rss/raw/master/support/logo.png)
1+
![html2rss logo](https://github.com/html2rss/html2rss/raw/main/support/logo.png)
22

33
# html2rss-web
44

@@ -72,22 +72,22 @@ For contributors and AI agents changing backend structure, follow the placement
7272

7373
## Make Targets
7474

75-
| Command | Purpose |
76-
| -------------------- | ------------------------------------------------------- |
77-
| `make help` | List available shortcuts. |
78-
| `make setup` | Install Ruby and Node dependencies. |
79-
| `make dev` | Run Ruby (port 4000) and frontend (port 4001) dev servers. |
80-
| `make dev-ruby` | Start only the Ruby server. |
81-
| `make dev-frontend` | Start only the frontend dev server (port 4001). |
82-
| `make test` | Run Ruby and frontend test suites. |
83-
| `make test-ruby` | Run Ruby specs. |
84-
| `make test-frontend` | Run frontend unit and contract tests. |
85-
| `make lint` | Run all linters. |
86-
| `make lintfix` | Auto-fix lint warnings where possible. |
87-
| `make yard-verify-public-docs` | Enforce typed YARD docs for public methods in `app/`. |
88-
| `make openapi` | Regenerate `docs/api/v1/openapi.yaml` from request specs. |
89-
| `make openapi-verify`| Regenerate + fail if OpenAPI file is stale. |
90-
| `make clean` | Remove build artefacts. |
75+
| Command | Purpose |
76+
| ------------------------------ | ---------------------------------------------------------- |
77+
| `make help` | List available shortcuts. |
78+
| `make setup` | Install Ruby and Node dependencies. |
79+
| `make dev` | Run Ruby (port 4000) and frontend (port 4001) dev servers. |
80+
| `make dev-ruby` | Start only the Ruby server. |
81+
| `make dev-frontend` | Start only the frontend dev server (port 4001). |
82+
| `make test` | Run Ruby and frontend test suites. |
83+
| `make test-ruby` | Run Ruby specs. |
84+
| `make test-frontend` | Run frontend unit and contract tests. |
85+
| `make lint` | Run all linters. |
86+
| `make lintfix` | Auto-fix lint warnings where possible. |
87+
| `make yard-verify-public-docs` | Enforce typed YARD docs for public methods in `app/`. |
88+
| `make openapi` | Regenerate `docs/api/v1/openapi.yaml` from request specs. |
89+
| `make openapi-verify` | Regenerate + fail if OpenAPI file is stale. |
90+
| `make clean` | Remove build artefacts. |
9191

9292
## OpenAPI Contract
9393

@@ -98,12 +98,12 @@ The OpenAPI file is generated from Ruby request specs only.
9898

9999
## Frontend npm Scripts (inside Dev Container)
100100

101-
| Command | Purpose |
102-
| ----------------------- | --------------------------------------------- |
103-
| `npm run dev` | Vite dev server with hot reload (port 4001). |
104-
| `npm run build` | Build static assets into `public/frontend`. |
105-
| `npm run test:run` | Unit tests (Vitest). |
106-
| `npm run test:contract` | Contract tests with MSW. |
101+
| Command | Purpose |
102+
| ----------------------- | -------------------------------------------- |
103+
| `npm run dev` | Vite dev server with hot reload (port 4001). |
104+
| `npm run build` | Build static assets into `public/frontend`. |
105+
| `npm run test:run` | Unit tests (Vitest). |
106+
| `npm run test:contract` | Contract tests with MSW. |
107107

108108
## Testing Strategy
109109

config/feeds.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ feeds:
2626
# your custom feeds go here:
2727
example:
2828
channel:
29-
url: https://github.com/html2rss/html2rss-web/commits/master
30-
title: Latest commits on html2rss-web's master branch.
29+
url: https://github.com/html2rss/html2rss-web/commits/main
30+
title: Latest commits on html2rss-web's main branch.
3131
ttl: 120
3232
selectors:
3333
items:

spec/fixtures/vcr_cassettes/auto_source-github-h2r-web.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
http_interactions:
33
- request:
44
method: get
5-
uri: https://github.com/html2rss/html2rss-web/commits/master
5+
uri: https://github.com/html2rss/html2rss-web/commits/main
66
body:
77
encoding: US-ASCII
88
string: ""

0 commit comments

Comments
 (0)