Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(GH-8): Create dotnet outdate action #10

Merged
merged 80 commits into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
914b208
feat(GH-8): Remove CODEOWNERS file
gavanlamb Jun 12, 2024
f957a9c
feat(GH-8): Remove .devcontainer
gavanlamb Jun 12, 2024
56305d3
feat(GH-8): Remove linting config files
gavanlamb Jun 12, 2024
2e30c34
feat(GH-8): Remove main file
gavanlamb Jun 12, 2024
1cfe8b7
feat(GH-8): Remove wait file
gavanlamb Jun 12, 2024
0b5e089
feat(GH-8): Remove pretty config
gavanlamb Jun 12, 2024
bd27f93
feat(GH-8): Add client for GitHub checks
gavanlamb Jun 12, 2024
93e9eb0
feat(GH-8): Add client for GitHub issue comments
gavanlamb Jun 12, 2024
6981a8e
feat(GH-8): Add functionality to create octokit client
gavanlamb Jun 12, 2024
ed9e264
feat(GH-8): Add error for invalid input
gavanlamb Jun 12, 2024
3599948
feat(GH-8): Add helper for paths
gavanlamb Jun 12, 2024
55730af
feat(GH-8): Add helper for github input
gavanlamb Jun 12, 2024
6ac9b7e
feat(GH-8): Add types
gavanlamb Jun 12, 2024
ed46744
feat(GH-8): Add service for dotnet action
gavanlamb Jun 12, 2024
171ffc8
feat(GH-8): Add service for GitHub
gavanlamb Jun 12, 2024
342b4dc
feat(GH-8): Add service for outdated action
gavanlamb Jun 12, 2024
b38763d
feat(GH-8): Add service for summary generation
gavanlamb Jun 12, 2024
0bbbae9
feat(GH-8): Add index
gavanlamb Jun 12, 2024
b06cee0
feat(GH-8): Remove coverage badge
gavanlamb Jun 12, 2024
b34b68d
feat(GH-8): Remove release script
gavanlamb Jun 12, 2024
986f223
feat(GH-8): Add eslint config
gavanlamb Jun 12, 2024
0fd8c70
feat(GH-8): Update action file
gavanlamb Jun 12, 2024
00cf53e
feat(GH-8): Update tsconfig files
gavanlamb Jun 12, 2024
250ce14
feat(GH-8): Update package
gavanlamb Jun 12, 2024
fe2d588
feat(GH-8): Update action input names
gavanlamb Jun 13, 2024
7e1ff7f
feat(GH-8): Update readme
gavanlamb Jun 13, 2024
ea989c0
feat(GH-8): Update package.json
gavanlamb Jun 13, 2024
a5a6ce6
feat(GH-8): Create distributable
gavanlamb Jun 13, 2024
346e75d
feat(GH-8): Add a workflow for updating the Jira status when a pr is …
gavanlamb Jun 13, 2024
87d1b7a
feat(GH-8): Add a workflow for removing an environment when a PR is c…
gavanlamb Jun 13, 2024
8a918b6
feat(GH-8): Add a workflow for when a PR is opened or reopened
gavanlamb Jun 13, 2024
3dc6dfc
feat(GH-8): Move jest config to a ts file
gavanlamb Jun 13, 2024
59e4266
feat(GH-8): Fix linting
gavanlamb Jun 13, 2024
8512190
feat(GH-8): Add preview workflow
gavanlamb Jun 13, 2024
ffe679a
feat(GH-8): Remove actions
gavanlamb Jun 13, 2024
9f3e32a
feat(GH-8): Reset version to 0.0.0
gavanlamb Jun 13, 2024
33a3efa
feat(GH-8): Set version from version step
gavanlamb Jun 13, 2024
26584f1
feat(GH-8): Add junit test result to gitignore
gavanlamb Jun 13, 2024
ba9d661
feat(GH-8): Update preview workflow to be triggered by pull_request e…
gavanlamb Jun 13, 2024
a77f24e
feat(GH-8): Exclude jest.config.ts from the packaged code
gavanlamb Jun 13, 2024
d017928
feat(GH-8): Include jest.config.ts from the packaged code
gavanlamb Jun 13, 2024
574dc4a
feat(GH-8): Package code
gavanlamb Jun 13, 2024
0150fab
feat(GH-8): Add step to publish coverage
gavanlamb Jun 13, 2024
5da627f
feat(GH-8): Opt out of coverage comparison
gavanlamb Jun 13, 2024
9e8d5d3
feat(GH-8): Update jest command
gavanlamb Jun 13, 2024
b639af2
feat(GH-8): Update .gitignore to exclude the test-results folder
gavanlamb Jun 14, 2024
9ce0966
feat(GH-8): Add git versioning
gavanlamb Jun 14, 2024
47184e0
feat(GH-8): Update readme
gavanlamb Jun 14, 2024
b105499
feat(GH-8): Remove action to update Jira issue status
gavanlamb Jun 14, 2024
1a80c7e
feat(GH-8): Update pull.request.opened.yml to notify slack
gavanlamb Jun 14, 2024
d06df73
feat(GH-8): Update pull.request.opened.yml to notify google chat
gavanlamb Jun 14, 2024
2f1a72f
feat(GH-8): Update release and preview workflows
gavanlamb Jun 14, 2024
ebf7583
feat(GH-8): Update readme
gavanlamb Jun 15, 2024
25aa8df
feat(GH-8): Update test command to include CI argument
gavanlamb Jun 15, 2024
7163af2
feat(GH-8): Update preview workflow concurrency key
gavanlamb Jun 15, 2024
14bc161
feat(GH-8): Update set version step
gavanlamb Jun 15, 2024
978b825
[skip-ci] set version to 0.2.0-alpha.56
gavanlamb Jun 15, 2024
b6ee199
feat(GH-8): Update preview workflow to push version changes
gavanlamb Jun 15, 2024
58ae64f
feat(GH-8): Remove --ci from jest test run
gavanlamb Jun 15, 2024
6eaa195
feat(GH-8): Add git config
gavanlamb Jun 15, 2024
e21e938
feat(GH-8): Update push branch name to be ${{ github.head_ref }}
gavanlamb Jun 15, 2024
cde804e
Merge e21e9382dcb876f5d4731470326b23013d9708fa into 8730fee3d57c44d43…
gavanlamb Jun 15, 2024
e74caf7
chore: [skip-ci] set version to 0.2.0-preview10.62
gavanlamb Jun 15, 2024
4015524
feat(GH-8): Add a step to check the dist folder
gavanlamb Jun 15, 2024
78bfd30
Merge 4015524642549b539a7641df06e8764e61c17142 into 8730fee3d57c44d43…
gavanlamb Jun 15, 2024
d0c3fae
chore: [skip-ci] set version to 0.2.0-preview10.65
gavanlamb Jun 15, 2024
981977a
feat(GH-8): Disable tagging of changes when setting the npm version
gavanlamb Jun 15, 2024
568bfc0
Merge remote-tracking branch 'origin/feature/SCRUM-41-create-dotnet-o…
gavanlamb Jun 15, 2024
50aaf7e
Merge 568bfc02117367242c801d21d8faf87cd23892af into 8730fee3d57c44d43…
gavanlamb Jun 15, 2024
7d0e589
feat(GH-8): Reset version to 0.0.0
gavanlamb Jun 15, 2024
3a87f65
feat(GH-8): Add release steps to preview
gavanlamb Jun 15, 2024
76eeef5
feat(GH-8): Add release-notes-config.json
gavanlamb Jun 15, 2024
59f70f2
feat(GH-8): Use Qodana code coverage
gavanlamb Jun 15, 2024
ed8224f
feat(GH-8): Add .qodana to the gitignore
gavanlamb Jun 15, 2024
1aaedab
feat(GH-8): Update the Verify changed files step
gavanlamb Jun 15, 2024
1f3d66b
feat(GH-8): Replace create and push tag step with a script
gavanlamb Jun 15, 2024
9890375
feat(GH-8): Update readme
gavanlamb Jun 16, 2024
393195e
feat(GH-8): Update release workflow and remove preview
gavanlamb Jun 16, 2024
6892642
feat(GH-8): Add preview workflow back
gavanlamb Jun 16, 2024
2bdf201
feat(GH-8): Remove the pr trigger for the release workflow
gavanlamb Jun 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions .devcontainer/devcontainer.json

This file was deleted.

26 changes: 15 additions & 11 deletions .github/linters/.eslintrc.yml → .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ parserOptions:
ecmaVersion: 2023
sourceType: module
project:
- './.github/linters/tsconfig.json'
- './tsconfig.json'
- './tsconfig.test.json'

plugins:
- filenames
- jest
- '@typescript-eslint'

extends:
- eslint:recommended
Expand All @@ -37,32 +37,36 @@ extends:
rules:
{
'camelcase': 'off',
'indent': ["error", 4],
'eslint-comments/no-use': 'off',
'eslint-comments/no-unused-disable': 'off',
'filenames/match-regex': [2, "^([a-zA-Z0-9_-]+).([a-zA-Z0-9]+)$", true],
'i18n-text/no-en': 'off',
'import/no-namespace': 'off',
'import/no-unresolved': 'off',
'no-shadow': 'off',
'no-console': 'off',
'no-unused-vars': 'off',
'prettier/prettier': 'error',
'no-useless-escape': 'off',
'semi': 'off',
'semi-style': 'off',
'prettier/prettier': 'off',
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/ban-ts-comment': 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/explicit-member-accessibility':
['error', { 'accessibility': 'no-public' }],
'@typescript-eslint/explicit-function-return-type':
['error', { 'allowExpressions': true }],
'@typescript-eslint/explicit-member-accessibility': ['error', { 'accessibility': 'no-public' }],
'@typescript-eslint/explicit-function-return-type': ['error', { 'allowExpressions': true }],
'@typescript-eslint/func-call-spacing': ['error', 'never'],
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-empty-interface': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-for-in-array': 'error',
'@typescript-eslint/no-inferrable-types': 'error',
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/no-non-null-assertion': 'warn',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/no-unnecessary-qualifier': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
Expand All @@ -76,8 +80,8 @@ rules:
'@typescript-eslint/promise-function-async': 'error',
'@typescript-eslint/require-array-sort-compare': 'error',
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/semi': ['error', 'always'],
'@typescript-eslint/space-before-function-paren': 'off',
'@typescript-eslint/type-annotation-spacing': 'error',
'@typescript-eslint/unbound-method': 'error'
'@typescript-eslint/unbound-method': 'off'
}
26 changes: 0 additions & 26 deletions .github/dependabot.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/linters/.markdown-lint.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/linters/.yaml-lint.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/linters/tsconfig.json

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/check-dist.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/ci.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/environment.remove.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Remove environment'

on:
pull_request:
types:
- closed

concurrency:
cancel-in-progress: false
group: environment-remove-${{ github.ref_name }}

env:
environment: Preview${{ github.event.pull_request.number }}

jobs:
remove:
name: Remove environment
runs-on: ubuntu-latest
steps:
- name: Delete the ${{ env.environment }} environment
uses: strumwolf/delete-deployment-environment@v3.0.0
with:
token: ${{ secrets.PAT_GITHUB_ACTIONS }}
environment: ${{ env.environment }}
Loading