From 387b0d9839fe2e8f59e5c23703a0311bdfa4268f Mon Sep 17 00:00:00 2001
From: Juan
Date: Wed, 20 Nov 2024 11:48:57 -0500
Subject: [PATCH] update branch (#1059)
* update branch
* comment
---
.github/workflows/test.yml | 10 +++++++---
README.md | 9 ++++-----
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 51f2d968..27ea23ef 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -3,7 +3,7 @@ name: Test
on:
push:
branches: # Array of patterns that match refs/heads
- - master # Push events on master branch
+ - main # Push events on main branch
pull_request: # Specify a second event with pattern matching
env:
CI: true
@@ -33,7 +33,9 @@ jobs:
- run: npm run examples
- run: npm run benchmarks
- name: Coveralls GitHub Action
- uses: coverallsapp/github-action@master
+ # Per Actions best practices, SHA is the safest for third party actions
+ # https://github.com/coverallsapp/github-action/releases/tag/v2.3.4
+ uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-unit-${{ matrix.node-version }}
@@ -44,7 +46,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
- uses: coverallsapp/github-action@master
+ # Per Actions best practices, SHA is the safest for third party actions
+ # https://github.com/coverallsapp/github-action/releases/tag/v2.3.4
+ uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
diff --git a/README.md b/README.md
index a5a469f0..62a6c3cf 100644
--- a/README.md
+++ b/README.md
@@ -3,8 +3,7 @@
[![npm version](https://img.shields.io/npm/v/fast-csv.svg)](https://www.npmjs.org/package/fast-csv)
-[![Build Status](https://travis-ci.org/C2FO/fast-csv.svg?branch=master)](https://travis-ci.org/C2FO/fast-csv)
-[![Coverage Status](https://coveralls.io/repos/github/C2FO/fast-csv/badge.svg?branch=master)](https://coveralls.io/github/C2FO/fast-csv?branch=master)
+[![Coverage Status](https://coveralls.io/repos/github/C2FO/fast-csv/badge.svg?branch=master)](https://coveralls.io/github/C2FO/fast-csv?branch=main)
[![Known Vulnerabilities](https://snyk.io/test/github/C2FO/fast-csv/badge.svg?targetFile=package.json)](https://snyk.io/test/github/C2FO/fast-csv?targetFile=package.json)
# Fast-csv
@@ -27,18 +26,18 @@ See [installation docs](https://c2fo.github.io/fast-csv/docs/introduction/instal
## Packages
-* `fast-csv` - One stop shop for all methods and options from `@fast-csv/format` and `@fast-csv/parse`. [Get Started!](https://c2fo.github.io/fast-csv/docs/introduction/getting-started)
+* `fast-csv` - One-stop shop for all methods and options from `@fast-csv/format` and `@fast-csv/parse`. [Get Started!](https://c2fo.github.io/fast-csv/docs/introduction/getting-started)
* `@fast-csv/parse` - Parsing package, use this if you only need to parse files. [Get Started!](https://c2fo.github.io/fast-csv/docs/parsing/getting-started)
* `@fast-csv/format` - Formatting package, use this if you only need to format files. [Get Started!](https://c2fo.github.io/fast-csv/docs/formatting/getting-started)
## License
-MIT
+MIT
## Meta
* Code: `git clone git://github.com/C2FO/fast-csv.git`
* Website:
-* Twitter: [http://twitter.com/c2fo](http://twitter.com/c2fo) - 877.465.4045
+* X: [http://x.com/c2fo](http://twitter.com/c2fo) - 877.465.4045