Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kbrashears5/test
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.1
Choose a base ref
...
head repository: kbrashears5/test
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Sep 8, 2020

  1. removing persistance

    kbrashears5 committed Sep 8, 2020
    Copy the full SHA
    dc7ce29 View commit details

Commits on Nov 23, 2020

  1. testing dotnet release

    kbrashears5 committed Nov 23, 2020
    Copy the full SHA
    58e1201 View commit details
  2. fixing the test

    kbrashears5 committed Nov 23, 2020
    Copy the full SHA
    e887bb3 View commit details

Commits on Dec 15, 2020

  1. Copy the full SHA
    ee528f7 View commit details
  2. Copy the full SHA
    c665ea9 View commit details
  3. updating token

    kbrashears5 committed Dec 15, 2020
    Copy the full SHA
    a345bd6 View commit details

Commits on Mar 14, 2021

  1. testing fix

    kbrashears5 committed Mar 14, 2021
    Copy the full SHA
    2f46b08 View commit details
  2. prompting

    kbrashears5 committed Mar 14, 2021
    Copy the full SHA
    5972b61 View commit details
  3. triggering

    kbrashears5 committed Mar 14, 2021
    Copy the full SHA
    bac4e6d View commit details

Commits on Mar 15, 2021

  1. removing pr

    kbrashears5 committed Mar 15, 2021
    Copy the full SHA
    1054cf6 View commit details
  2. putting pr back

    kbrashears5 committed Mar 15, 2021
    Copy the full SHA
    d839630 View commit details
  3. last test

    kbrashears5 committed Mar 15, 2021
    Copy the full SHA
    6e32634 View commit details
  4. Copy the full SHA
    d9436e1 View commit details
  5. Copy the full SHA
    944a149 View commit details
  6. Copy the full SHA
    99bb4ff View commit details
  7. Copy the full SHA
    1ceed3c View commit details
  8. Copy the full SHA
    44a54e2 View commit details
  9. test

    kbrashears5 committed Mar 15, 2021
    Copy the full SHA
    2c092e2 View commit details
  10. Copy the full SHA
    91643a5 View commit details
  11. Copy the full SHA
    c60dd83 View commit details
  12. Copy the full SHA
    01dc78c View commit details
  13. Copy the full SHA
    d361cf3 View commit details
  14. Copy the full SHA
    5f6e274 View commit details

Commits on May 27, 2021

  1. 1.0.1

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    a28b947 View commit details
  2. testing pre commit

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    0ffd5ee View commit details
  3. testing pre commit

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    83f7f45 View commit details
  4. testing pre commit again

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    03e8c38 View commit details
  5. testing pre commit

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    67a059b View commit details
  6. a

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    677ac0f View commit details
  7. test

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    de17394 View commit details
  8. f

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    7dbd097 View commit details
  9. post

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    49197ee View commit details
  10. test

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    73d15c7 View commit details
  11. a

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    50635db View commit details
  12. eh?

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    276e109 View commit details
  13. ehhh?

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    f48501c View commit details
  14. did it work?

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    595013c View commit details
  15. post checkout?

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    26ea83d View commit details
  16. switching back

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    5a80841 View commit details
  17. sleep?

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    ded4196 View commit details
  18. why isn't this working

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    64e9cc1 View commit details
  19. wait did it work?

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    2b56436 View commit details
  20. forgot to npm i

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    69d4778 View commit details
  21. trying git add

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    647cd96 View commit details
  22. forgot an npm i

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    ade1eae View commit details
  23. wait did that work?

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    fd8451a View commit details
  24. testing release

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    0fe1436 View commit details
  25. Copy the full SHA
    957e1cb View commit details
  26. testing version

    kbrashears5 committed May 27, 2021
    Copy the full SHA
    3c517ff View commit details
  27. Copy the full SHA
    9d7afe6 View commit details
7 changes: 7 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

echo "Bumping package version"
npm version patch --commit-hook false --git-tag-version false --force
git add package.json
echo "Update package version"
exit 0
19 changes: 19 additions & 0 deletions .github/workflows/auto-accept-collabs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Accept Collabs

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Auto Accept Collabs
uses: kbrashears5/github-action-auto-accept-collabs@master
with:
TOKEN: ${{ secrets.ACTIONS }}
23 changes: 23 additions & 0 deletions .github/workflows/auto-create-collabs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Create Collabs

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Auto Create Collabs
uses: kbrashears5/github-action-auto-create-collabs@master
with:
REPOSITORIES: |
kbrashears5/test
USERS: |
github-action-bot
TOKEN: ${{ secrets.ACTIONS }}
54 changes: 54 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: CI/CD

on:
push:
branches:
- master
- main
paths:
- src/**
- .github/**
pull_request:
branches:
- master
- main
paths:
- src/**

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
registry-url: https://registry.npmjs.org
- name: Install Dependencies
run: npm install
- name: Build Package
run: npm run build
- name: Test Code
run: npm test
- uses: codecov/codecov-action@v1
# - name: Publish Package
# if: ${{ github.ref == 'refs/heads/master' }}
# run: dotnet nuget push
# env:
# release:
# runs-on: ubuntu-latest
# if: ${{ github.ref == 'refs/heads/master' }}
# needs: build

# steps:
# - uses: actions/checkout@v2
# - name: Get NPM Version
# id: package-version
# uses: martinbeentjes/npm-get-version-action@master
# - name: Github Release
# uses: kbrashears5/github-action-release-maker@master
# with:
# VERSION: ${{ steps.package-version.outputs.current-version}}
# TOKEN: ${{ secrets.ACTIONS }}
6 changes: 2 additions & 4 deletions .github/workflows/file-sync.yml
Original file line number Diff line number Diff line change
@@ -4,8 +4,6 @@ on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
@@ -17,11 +15,11 @@ jobs:
uses: kbrashears5/github-action-file-sync@master
with:
REPOSITORIES: |
kbrashears5/test@test
kbrashears5/test
FILES: |
.github/workflows/file-sync.yml=./filesync1/test.txt
.github/workflows/file-sync.yml=filesync2/test.txt
.github/workflows/file-sync.yml=/filesync3/test.txt
.github/workflows/=newFolder/
TOKEN: ${{ secrets.ACTIONS }}
PULL_REQUEST: false
#PULL_REQUEST_BRANCH_NAME: master
2 changes: 1 addition & 1 deletion .github/workflows/issue-assigner.yml
Original file line number Diff line number Diff line change
@@ -11,4 +11,4 @@ jobs:
- name: Issue Assigner
uses: kbrashears5/github-action-issue-assigner@master
with:
TOKEN: ${{ secrets.ACTIONS }}
TOKEN: ${{ secrets.ISSUES }}
5 changes: 3 additions & 2 deletions .github/workflows/repo-setup.yml
Original file line number Diff line number Diff line change
@@ -6,13 +6,14 @@ on:
- master
schedule:
- cron: 0 0 * * *
workflow_dispatch:

jobs:
repo_setup:
runs-on: ubuntu-latest
steps:
- name: Repo Setup
uses: kbrashears5/github-action-repo-settings-sync@master
uses: kbrashears5/github-action-repo-settings-sync@enabled
with:
REPOSITORIES: |
kbrashears5/test
@@ -21,4 +22,4 @@ jobs:
MERGE_COMMIT: 'false'
REBASE_MERGE: 'false'
DELETE_HEAD: 'true'
BRANCH_PROTECTION_REQUIRED_REVIEWERS: '5'
BRANCH_PROTECTION_NAME: 'master'
371 changes: 371 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,371 @@
node_modules

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Mono auto generated files
mono_crash.*

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/

# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# Benchmark Results
BenchmarkDotNet.Artifacts/

# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/

# ASP.NET Scaffolding
ScaffoldingReadMe.txt

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# Visual Studio Trace Files
*.e2e

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json

# Coverlet is a free, cross platform Code Coverage Tool
coverage*[.json, .xml, .info]

# Visual Studio code coverage results
*.coverage
*.coveragexml

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/

# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs

# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# SQL Server files
*.mdf
*.ldf
*.ndf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl

# Microsoft Fakes
FakesAssemblies/

# GhostDoc plugin setting file
*.GhostDoc.xml

# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions

# Paket dependency manager
.paket/paket.exe
paket-files/

# FAKE - F# Make
.fake/

# CodeRush personal settings
.cr/personal

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc

# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config

# Tabs Studio
*.tss

# Telerik's JustMock configuration file
*.jmconfig

# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs

# OpenCover UI analysis results
OpenCover/

# Azure Stream Analytics local run output
ASALocalRun/

# MSBuild Binary and Structured Log
*.binlog

# NVidia Nsight GPU debugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Local History for Visual Studio
.localhistory/

# BeatPulse healthcheck temp database
healthchecksdb

# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# Fody - auto-generated XML schema
FodyWeavers.xsd

# XML documentation files
**/documentation.xml

# code coverage
coverage

# lib
lib
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![codecov](https://codecov.io/gh/kbrashears5/test/branch/master/graph/badge.svg?token=O3BU2K59M2)](https://codecov.io/gh/kbrashears5/test)
26 changes: 15 additions & 11 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@




# define pipeline number (https://docs.microsoft.com/en-us/azure/devops/pipelines/build/options?view=azure-devops&tabs=yaml#build-number-format)
name: 1.0$(Rev:.r)

@@ -14,14 +18,14 @@ variables:
- group: github

stages:
- stage: 'Build'
jobs:
- job: Build
# defines agent pool and demands (https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=example#pool)
pool:
vmImage: ubuntu-latest

steps:
- checkout: self
persistCredentials: true
- template: templates/create-github-release.yml@templates
# - stage: 'Build'
# jobs:
# - job: Build
# # defines agent pool and demands (https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=example#pool)
# pool:
# vmImage: ubuntu-latest

# steps:
# - template: templates/create-github-release.yml@templates

- template: templates/build-dotnet.yml@templates
2 changes: 2 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h1>Test</h1>
<p>this is a test</p>
3 changes: 3 additions & 0 deletions docs/test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# test

this is a test
25 changes: 25 additions & 0 deletions filesync1/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: File Sync

on:
push:
branches:
- master

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: File Sync
uses: kbrashears5/github-action-file-sync@master
with:
REPOSITORIES: |
kbrashears5/test
FILES: |
.github/workflows/file-sync.yml=./filesync1/test.txt
.github/workflows/file-sync.yml=filesync2/test.txt
.github/workflows/file-sync.yml=/filesync3/test.txt
.github/workflows/=newFolder/
TOKEN: ${{ secrets.ACTIONS }}
#PULL_REQUEST_BRANCH_NAME: master
25 changes: 25 additions & 0 deletions filesync2/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: File Sync

on:
push:
branches:
- master

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: File Sync
uses: kbrashears5/github-action-file-sync@master
with:
REPOSITORIES: |
kbrashears5/test
FILES: |
.github/workflows/file-sync.yml=./filesync1/test.txt
.github/workflows/file-sync.yml=filesync2/test.txt
.github/workflows/file-sync.yml=/filesync3/test.txt
.github/workflows/=newFolder/
TOKEN: ${{ secrets.ACTIONS }}
#PULL_REQUEST_BRANCH_NAME: master
25 changes: 25 additions & 0 deletions filesync3/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: File Sync

on:
push:
branches:
- master

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: File Sync
uses: kbrashears5/github-action-file-sync@master
with:
REPOSITORIES: |
kbrashears5/test
FILES: |
.github/workflows/file-sync.yml=./filesync1/test.txt
.github/workflows/file-sync.yml=filesync2/test.txt
.github/workflows/file-sync.yml=/filesync3/test.txt
.github/workflows/=newFolder/
TOKEN: ${{ secrets.ACTIONS }}
#PULL_REQUEST_BRANCH_NAME: master
9 changes: 9 additions & 0 deletions junit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="jest tests" tests="2" failures="0" errors="0" time="4.58">
<testsuite name="test" errors="0" failures="0" skipped="0" timestamp="2021-07-02T14:11:19" time="4.027" tests="2">
<testcase classname="test test1" name="test test1" time="0.008">
</testcase>
<testcase classname="test test1" name="test test1" time="0.001">
</testcase>
</testsuite>
</testsuites>
6 changes: 6 additions & 0 deletions net.csproj
Original file line number Diff line number Diff line change
@@ -23,4 +23,10 @@
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
</Project>



19 changes: 19 additions & 0 deletions newFolder/auto-accept-collabs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Accept Collabs

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Auto Accept Collabs
uses: kbrashears5/github-action-auto-accept-collabs@master
with:
TOKEN: ${{ secrets.ACTIONS }}
23 changes: 23 additions & 0 deletions newFolder/auto-create-collabs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Create Collabs

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Auto Create Collabs
uses: kbrashears5/github-action-auto-create-collabs@master
with:
REPOSITORIES: |
kbrashears5/test
USERS: |
github-action-bot
TOKEN: ${{ secrets.ACTIONS }}
25 changes: 25 additions & 0 deletions newFolder/file-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: File Sync

on:
push:
branches:
- master

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: File Sync
uses: kbrashears5/github-action-file-sync@master
with:
REPOSITORIES: |
kbrashears5/test
FILES: |
.github/workflows/file-sync.yml=./filesync1/test.txt
.github/workflows/file-sync.yml=filesync2/test.txt
.github/workflows/file-sync.yml=/filesync3/test.txt
.github/workflows/=newFolder/
TOKEN: ${{ secrets.ACTIONS }}
#PULL_REQUEST_BRANCH_NAME: master
14 changes: 14 additions & 0 deletions newFolder/issue-assigner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Issue Assigner

on:
issues:
types: [opened]

jobs:
issue_assigner:
runs-on: ubuntu-latest
steps:
- name: Issue Assigner
uses: kbrashears5/github-action-issue-assigner@master
with:
TOKEN: ${{ secrets.ISSUES }}
16 changes: 16 additions & 0 deletions newFolder/release-creator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release Creator

on:
repository_dispatch:
types:
- release

jobs:
release_creator:
runs-on: ubuntu-latest
steps:
- name: Release Creator
uses: kbrashears5/github-action-release-creator@master
with:
VERSION: ${{ github.event.client_payload.version }}
TOKEN: ${{ secrets.ACTIONS }}
24 changes: 24 additions & 0 deletions newFolder/repo-setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Repo Setup

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
repo_setup:
runs-on: ubuntu-latest
steps:
- name: Repo Setup
uses: kbrashears5/github-action-repo-settings-sync@master
with:
REPOSITORIES: |
kbrashears5/test
TOKEN: ${{ secrets.ACTIONS }}
SQUASH_MERGE: 'true'
MERGE_COMMIT: 'false'
REBASE_MERGE: 'false'
DELETE_HEAD: 'true'
BRANCH_PROTECTION_REQUIRED_REVIEWERS: '5'
23 changes: 23 additions & 0 deletions newFolder/repo-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Repo Sync

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Repo Sync
uses: kbrashears5/github-action-repo-sync@master
with:
# TYPE: npm
# PATH: package.json
TYPE: nuget
PATH: net.csproj
TOKEN: ${{ secrets.ACTIONS }}
19 changes: 19 additions & 0 deletions newFolder/workflows/auto-accept-collabs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Accept Collabs

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Auto Accept Collabs
uses: kbrashears5/github-action-auto-accept-collabs@master
with:
TOKEN: ${{ secrets.ACTIONS }}
23 changes: 23 additions & 0 deletions newFolder/workflows/auto-create-collabs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Create Collabs

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Auto Create Collabs
uses: kbrashears5/github-action-auto-create-collabs@master
with:
REPOSITORIES: |
kbrashears5/test
USERS: |
github-action-bot
TOKEN: ${{ secrets.ACTIONS }}
25 changes: 25 additions & 0 deletions newFolder/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI/CD

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Get NPM Version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
- name: Github Release
if: github.ref == '/refs/heads/master'
uses: kbrashears5/github-action-release-maker@master
with:
VERSION: ${{ steps.package-version.outputs.current-version}}
TOKEN: ${{ secrets.ACTIONS }}
25 changes: 25 additions & 0 deletions newFolder/workflows/file-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: File Sync

on:
push:
branches:
- master

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: File Sync
uses: kbrashears5/github-action-file-sync@master
with:
REPOSITORIES: |
kbrashears5/test
FILES: |
.github/workflows/file-sync.yml=./filesync1/test.txt
.github/workflows/file-sync.yml=filesync2/test.txt
.github/workflows/file-sync.yml=/filesync3/test.txt
.github/workflows/=newFolder/
TOKEN: ${{ secrets.ACTIONS }}
#PULL_REQUEST_BRANCH_NAME: master
14 changes: 14 additions & 0 deletions newFolder/workflows/issue-assigner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Issue Assigner

on:
issues:
types: [opened]

jobs:
issue_assigner:
runs-on: ubuntu-latest
steps:
- name: Issue Assigner
uses: kbrashears5/github-action-issue-assigner@master
with:
TOKEN: ${{ secrets.ISSUES }}
16 changes: 16 additions & 0 deletions newFolder/workflows/release-creator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release Creator

on:
repository_dispatch:
types:
- release

jobs:
release_creator:
runs-on: ubuntu-latest
steps:
- name: Release Creator
uses: kbrashears5/github-action-release-creator@master
with:
VERSION: ${{ github.event.client_payload.version }}
TOKEN: ${{ secrets.ACTIONS }}
24 changes: 24 additions & 0 deletions newFolder/workflows/repo-setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Repo Setup

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
repo_setup:
runs-on: ubuntu-latest
steps:
- name: Repo Setup
uses: kbrashears5/github-action-repo-settings-sync@master
with:
REPOSITORIES: |
kbrashears5/test
TOKEN: ${{ secrets.ACTIONS }}
SQUASH_MERGE: 'true'
MERGE_COMMIT: 'false'
REBASE_MERGE: 'false'
DELETE_HEAD: 'true'
BRANCH_PROTECTION_REQUIRED_REVIEWERS: '5'
23 changes: 23 additions & 0 deletions newFolder/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Repo Sync

on:
push:
branches:
- master
schedule:
- cron: 0 0 * * *

jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: Repo Sync
uses: kbrashears5/github-action-repo-sync@master
with:
# TYPE: npm
# PATH: package.json
TYPE: nuget
PATH: net.csproj
TOKEN: ${{ secrets.ACTIONS }}
24 changes: 0 additions & 24 deletions obj/Debug/netstandard2.0/net.AssemblyInfo.cs

This file was deleted.

1 change: 0 additions & 1 deletion obj/Debug/netstandard2.0/net.AssemblyInfoInputs.cache

This file was deleted.

25 changes: 23 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
{
"name": "test",
"version": "1.0.0",
"version": "1.0.63",
"description": "Test repo",
"keywords": [
"test",
"json",
"kevin"
],
"files": [
"lib/**"
],
"homepage": "www.google.com ",
"devDependencies": {}
"devDependencies": {},
"jest": {
"preset": "ts-jest",
"reporters": [
"default",
"jest-junit"
],
"rootDir": "src",
"testEnvironment": "node",
"coverageReporters": [
"cobertura"
]
},
"scripts": {
"build": "tsc",
"clean": "rimraf ./lib",
"test": "jest --ci --coverage"
},
"dependencies": {}
}
12 changes: 12 additions & 0 deletions src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { TestClass } from ".";

describe(`test`, () => {
test(`test1`, () => {
const testClass = new TestClass();
return expect(testClass.returnFalse()).toBeFalsy();
});
test(`test1`, () => {
const testClass = new TestClass();
return expect(testClass.returnTrue()).toBeTruthy();
});
});
9 changes: 9 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export class TestClass {
public returnTrue(): boolean {
return true;
}

public returnFalse(): boolean {
return false;
}
}
22 changes: 22 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "CommonJS",
"declaration": true,
"checkJs": true,
"sourceMap": true,
"outDir": "./lib",
"removeComments": true,
"strict": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": ["src/**/*"],
"compileOnSave": false,
"buildOnSave": false
}