Skip to content

Commit

Permalink
main renames
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrashears5 committed Aug 1, 2023
1 parent 30847e3 commit d7cf74a
Show file tree
Hide file tree
Showing 15 changed files with 73 additions and 151 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Repo Metadata Sync (this repo)
on:
push:
branches:
- master
- main

jobs:
repo_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
uses: actions/checkout@main
- name: Repo Sync
uses: kbrashears5/github-action-repo-sync@v1
with:
Expand Down
60 changes: 30 additions & 30 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion net-standard/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## 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
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore

# User-specific files
*.rsuser
Expand Down
12 changes: 5 additions & 7 deletions net-standard/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ name: CI/CD
on:
push:
branches:
- master
- main
paths:
- src/**
pull_request:
branches:
- master
- main
paths:
- src/**
Expand All @@ -35,23 +33,23 @@ jobs:
run: dotnet test
- uses: codecov/codecov-action@v1
- name: Create Package
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
run: dotnet pack
- name: Publish Package
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
run: dotnet nuget push
release:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
needs: build

steps:
- uses: actions/checkout@v2
- name: Get NPM Version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
uses: martinbeentjes/npm-get-version-action@main
- name: Github Release
uses: kbrashears5/github-action-release-maker@master
uses: kbrashears5/github-action-release-maker@main
with:
VERSION: ${{ steps.package-version.outputs.current-version}}
TOKEN: ${{ secrets.ACTIONS }}
4 changes: 2 additions & 2 deletions net-standard/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL"

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
analyze:
Expand Down
10 changes: 7 additions & 3 deletions net-standard/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
version: 2
updates:
### update dependencies daily
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
reviewers:
- 'kbrashears5'

- package-ecosystem: 'nuget'
directory: '/'
# monthly at 5am UTC
schedule:
interval: 'monthly'
# set reviewers
reviewers:
- 'kbrashears5'
6 changes: 3 additions & 3 deletions python/sync-github-with-metadata-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: Repo Metadata Sync
on:
push:
branches:
- master
- main

jobs:
repo_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
uses: actions/checkout@main
- name: Repo Sync
uses: kbrashears5/github-action-repo-sync@master
uses: kbrashears5/github-action-repo-sync@main
with:
TYPE: npm
PATH: metadata.json
Expand Down
2 changes: 1 addition & 1 deletion release-maker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Release Maker
uses: kbrashears5/github-action-release-maker@main
uses: kbrashears5/github-action-release-maker@v1
with:
VERSION: ${{ github.event.client_payload.version }}
TOKEN: ${{ secrets.ACTIONS }}
39 changes: 0 additions & 39 deletions shell/azure-pipelines-v2.yml

This file was deleted.

39 changes: 0 additions & 39 deletions shell/azure-pipelines.yml

This file was deleted.

6 changes: 3 additions & 3 deletions shell/sync-github-with-metadata-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: Repo Metadata Sync
on:
push:
branches:
- master
- main

jobs:
repo_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
uses: actions/checkout@main
- name: Repo Sync
uses: kbrashears5/github-action-repo-sync@master
uses: kbrashears5/github-action-repo-sync@main
with:
TYPE: npm
PATH: metadata.json
Expand Down
14 changes: 6 additions & 8 deletions typescript/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ name: CI/CD
on:
push:
branches:
- master
- main
paths:
- src/**
- package.json
pull_request:
branches:
- master
- main
paths:
- src/**
Expand All @@ -22,10 +20,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x
registry-url: https://registry.npmjs.org
- name: Install Dependencies
run: npm install
Expand All @@ -35,22 +33,22 @@ jobs:
run: npm test
- uses: codecov/codecov-action@v1
- name: Publish Package
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM }}
release:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
needs: build

steps:
- uses: actions/checkout@v2
- name: Get NPM Version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
uses: martinbeentjes/npm-get-version-action@main
- name: Github Release
uses: kbrashears5/github-action-release-maker@master
uses: kbrashears5/github-action-release-maker@main
with:
VERSION: ${{ steps.package-version.outputs.current-version}}
TOKEN: ${{ secrets.ACTIONS }}
4 changes: 2 additions & 2 deletions typescript/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CodeQL

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
analyze:
Expand Down
16 changes: 8 additions & 8 deletions typescript/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
version: 2
updates:
### update dependencies daily
# package.json in root directory
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
reviewers:
- 'kbrashears5'

- package-ecosystem: 'npm'
directory: '/'
# monthly at 5am UTC
schedule:
interval: 'monthly'
# always get latest version
versioning-strategy: increase
# set reviewers
reviewers:
- 'kbrashears5'
# group dependencies
groups:
all:
patterns:
- "*"
- '*'
6 changes: 3 additions & 3 deletions typescript/sync-github-with-package-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: Repo Metadata Sync
on:
push:
branches:
- master
- main

jobs:
repo_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
uses: actions/checkout@v3
- name: Repo Sync
uses: kbrashears5/github-action-repo-sync@master
uses: kbrashears5/github-action-repo-sync@v1
with:
TYPE: npm
PATH: package.json
Expand Down

0 comments on commit d7cf74a

Please sign in to comment.