mirror of
https://github.com/Fdawgs/node-poppler.git
synced 2026-07-02 08:27:45 +08:00
chore: rename master branch to main (#468)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -6,7 +6,7 @@ name: CD
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
# Allows this workflow to be run manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "*.md"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "*.md"
|
||||
|
||||
@@ -6,10 +6,10 @@ name: CodeQL Analysis
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths:
|
||||
- "**/*.html"
|
||||
- "**/*.js"
|
||||
|
||||
@@ -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
@@ -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
@@ -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
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
[](https://github.com/Fdawgs/node-poppler/releases/latest/)
|
||||
[](https://npmjs.com/package/node-poppler)
|
||||

|
||||
[](https://coveralls.io/github/Fdawgs/node-poppler?branch=master)
|
||||

|
||||
[](https://coveralls.io/github/Fdawgs/node-poppler?branch=main)
|
||||
[](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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user