Skip to content

Commit a927778

Browse files
committed
Rename master to main
1 parent 6c0d8a1 commit a927778

File tree

5 files changed

+25
-17
lines changed

5 files changed

+25
-17
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: pre-commit
33
on:
44
pull_request:
55
push:
6-
branches: [master]
6+
branches: [main]
77

88
jobs:
99
pre-commit:

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
This probably means that it is not reproducible or it has been fixed in a newer version.
2323
If it’s an enhancement and hasn’t been taken on since it was submitted, then it seems other issues have taken priority.
2424
25-
If you still encounter this issue with the latest stable version, please reopen using the issue template. You can also contribute directly by submitting a pull request– see the [CONTRIBUTING.md](https://github.com/Shopify/shopify_python_api/blob/master/CONTRIBUTING.md) file for guidelines
25+
If you still encounter this issue with the latest stable version, please reopen using the issue template. You can also contribute directly by submitting a pull request– see the [CONTRIBUTING.md](https://github.com/Shopify/shopify_python_api/blob/main/CONTRIBUTING.md) file for guidelines
2626
2727
Thank you!
2828
days-before-pr-stale: -1

README.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![Build Status](https://github.com/Shopify/shopify_python_api/workflows/CI/badge.svg)](https://github.com/Shopify/shopify_python_api/actions)
44
[![PyPI version](https://badge.fury.io/py/ShopifyAPI.svg)](https://badge.fury.io/py/ShopifyAPI)
5-
[![codecov](https://codecov.io/gh/Shopify/shopify_python_api/branch/master/graph/badge.svg?token=pNTx0TARUx)](https://codecov.io/gh/Shopify/shopify_python_api)
6-
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/Shopify/shopify_python_api/blob/master/LICENSE)
5+
[![codecov](https://codecov.io/gh/Shopify/shopify_python_api/branch/main/graph/badge.svg?token=pNTx0TARUx)](https://codecov.io/gh/Shopify/shopify_python_api)
6+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/Shopify/shopify_python_api/blob/main/LICENSE)
77
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
88

99
The [Shopify Admin API](https://shopify.dev/docs/admin-api) Python Library
@@ -23,20 +23,28 @@ pip install --upgrade ShopifyAPI
2323

2424
### Table of Contents
2525

26-
- [Getting Started](#getting-started)
27-
- [Public and Custom Apps](#public-and-custom-apps)
28-
- [Private Apps](#private-apps)
29-
- [Billing](#billing)
30-
- [Session Tokens](docs/session-tokens.md)
31-
- [Handling Access Scope Operations](docs/api-access.md)
32-
- [Advanced Usage](#advanced-usage)
33-
- [Prefix Options](#prefix-options)
34-
- [Console](#console)
35-
- [GraphQL](#graphql)
26+
- [Usage](#usage)
27+
- [Requirements](#requirements)
28+
- [Installation](#installation)
29+
- [Table of Contents](#table-of-contents)
30+
- [Getting Started](#getting-started)
31+
- [Public and Custom Apps](#public-and-custom-apps)
32+
- [Private Apps](#private-apps)
33+
- [With full session](#with-full-session)
34+
- [With temporary session](#with-temporary-session)
35+
- [Billing](#billing)
36+
- [Advanced Usage](#advanced-usage)
37+
- [Prefix options](#prefix-options)
38+
- [Console](#console)
39+
- [GraphQL](#graphql)
3640
- [Using Development Version](#using-development-version)
41+
- [Building and installing dev version](#building-and-installing-dev-version)
42+
- [Running Tests](#running-tests)
3743
- [Relative Cursor Pagination](#relative-cursor-pagination)
44+
- [Set up pre-commit locally \[OPTIONAL\]](#set-up-pre-commit-locally-optional)
3845
- [Limitations](#limitations)
3946
- [Additional Resources](#additional-resources)
47+
- [Sample apps built using this library](#sample-apps-built-using-this-library)
4048

4149

4250
### Getting Started
@@ -263,7 +271,7 @@ page2 = shopify.Product.find(from_=next_url)
263271
```
264272

265273
## Set up pre-commit locally [OPTIONAL]
266-
[Pre-commit](https://pre-commit.com/) is set up as a GitHub action that runs on pull requests and pushes to the `master` branch. If you want to run pre-commit locally, install it and set up the git hook scripts
274+
[Pre-commit](https://pre-commit.com/) is set up as a GitHub action that runs on pull requests and pushes to the `main` branch. If you want to run pre-commit locally, install it and set up the git hook scripts
267275
```shell
268276
pip install -r requirements.txt
269277
pre-commit install

RELEASING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Releasing shopify_python_api
1515
git tag -m "Release X.Y.Z" vX.Y.Z
1616

1717
7. Push the changes to github
18-
git push --tags origin master
18+
git push --tags origin main
1919

2020
8. Shipit!

SECURITY.md

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

55
### New features
66

7-
New features will only be added to the master branch and will not be made available in point releases.
7+
New features will only be added to the main branch and will not be made available in point releases.
88

99
### Bug fixes
1010

0 commit comments

Comments
 (0)