chore: rename master branch to main (#468)

This commit is contained in:
Frazer Smith
2023-02-13 09:25:56 +00:00
committed by GitHub
parent 62586256f5
commit 6b380b4664
8 changed files with 16 additions and 16 deletions
@@ -4,12 +4,12 @@ the requirements below.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/Fdawgs/node-poppler/blob/master/CONTRIBUTING.md
Contributors guide: https://github.com/Fdawgs/node-poppler/blob/main/CONTRIBUTING.md
-->
#### Checklist
- [ ] Run `npm test`
- [ ] Documentation has been updated and adheres to the style described in [CONTRIBUTING.md](https://github.com/Fdawgs/node-poppler/blob/master/CONTRIBUTING.md#documentation-style)
- [ ] Documentation has been updated and adheres to the style described in [CONTRIBUTING.md](https://github.com/Fdawgs/node-poppler/blob/main/CONTRIBUTING.md#documentation-style)
- [ ] Commit message adheres to the [Conventional commits](https://conventionalcommits.org/en/v1.0.0/) style, following the `@commitlint/config-conventional` config
+1 -1
View File
@@ -6,7 +6,7 @@ name: CD
on:
push:
branches:
- master
- main
# Allows this workflow to be run manually from the Actions tab
workflow_dispatch:
+2 -2
View File
@@ -6,13 +6,13 @@ name: CI
on:
push:
branches:
- master
- main
paths-ignore:
- "docs/**"
- "*.md"
pull_request:
branches:
- master
- main
paths-ignore:
- "docs/**"
- "*.md"
+2 -2
View File
@@ -6,10 +6,10 @@ name: CodeQL Analysis
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
paths:
- "**/*.html"
- "**/*.js"
+2 -2
View File
@@ -6,13 +6,13 @@ name: Check Markdown for Broken Links
on:
push:
branches:
- master
- main
paths:
- "**/*.md"
- "!CHANGELOG.md"
pull_request:
branches:
- master
- main
paths:
- "**/*.md"
- "!CHANGELOG.md"
+1 -1
View File
@@ -666,7 +666,7 @@ All notable changes to this project will be documented in this file.
* do not run coveralls steps/jobs on forks ([82bbdf3](https://github.com/Fdawgs/node-poppler/commit/82bbdf381abe5cbcb3b1cba5062d69be75389d43))
* **link-check:** fix skip regex ([1803802](https://github.com/Fdawgs/node-poppler/commit/18038021f9c644cb427193446035ff50830d5748))
* **stale:** shorten workflow name ([a93b619](https://github.com/Fdawgs/node-poppler/commit/a93b619bbde22b0fc110cb2c84bad2e3c5375312))
* **workflows:** run only on push and pulls to master branch ([a97b3b3](https://github.com/Fdawgs/node-poppler/commit/a97b3b37b4795f4e2d176376a52021b70ce17560))
* **workflows:** run only on push and pulls to main branch ([a97b3b3](https://github.com/Fdawgs/node-poppler/commit/a97b3b37b4795f4e2d176376a52021b70ce17560))
### Dependencies
+3 -3
View File
@@ -4,8 +4,8 @@ Contributions are welcome and any help that can be offered is greatly appreciate
Please take a moment to read the entire contributing guide.
This repository uses the [Feature Branch Workflow](https://atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow),
meaning that development should take place in `feat/` branches, with the `master` branch kept in a stable state.
When you submit pull requests, please make sure to fork from and submit back to `master`.
meaning that development should take place in `feat/` branches, with the `main` branch kept in a stable state.
When you submit pull requests, please make sure to fork from and submit back to `main`.
Other processes and specifications that are in use in this repository are:
@@ -37,7 +37,7 @@ Titles and headings should use sentence-style capitalisation, where only the fir
Before submitting a pull request back to the main repository, please make sure you have completed the following steps:
1. Pull request base branch is set to `master`. All pull requests should be forked from and merged back to `master`
1. Pull request base branch is set to `main`. All pull requests should be forked from and merged back to `main`
2. Run `npm test` to check the code adheres to the defined ESLint style and that it passes the Jest tests
3. Run `npm run lint:prettier` to run the Prettier code formatter over the code
4. Run `npm run lint:licenses` if adding or updating production dependencies to check they use permissive licenses
+3 -3
View File
@@ -2,8 +2,8 @@
[![GitHub Release](https://img.shields.io/github/release/Fdawgs/node-poppler.svg)](https://github.com/Fdawgs/node-poppler/releases/latest/)
[![npm version](https://img.shields.io/npm/v/node-poppler)](https://npmjs.com/package/node-poppler)
![Build Status](https://github.com/Fdawgs/node-poppler/workflows/CI/badge.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/Fdawgs/node-poppler/badge.svg?branch=master)](https://coveralls.io/github/Fdawgs/node-poppler?branch=master)
![Build Status](https://github.com/Fdawgs/node-poppler/workflows/CI/badge.svg?branch=main)
[![Coverage Status](https://coveralls.io/repos/github/Fdawgs/node-poppler/badge.svg?branch=main)](https://coveralls.io/github/Fdawgs/node-poppler?branch=main)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat)](https://github.com/prettier/prettier)
> Asynchronous node.js wrapper for the Poppler PDF rendering library
@@ -53,7 +53,7 @@ const poppler = new Poppler("/usr/bin");
const { Poppler } = require("node-poppler");
```
[**API Documentation can be found here**](https://github.com/Fdawgs/node-poppler/blob/master/API.md)
[**API Documentation can be found here**](https://github.com/Fdawgs/node-poppler/blob/main/API.md)
## Examples