Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
chore(main): release 2.0.0 (#16)
Browse files Browse the repository at this point in the history
* chore(main): release 2.0.0

* chore(docs): move views

Trying to get workflow to trigger

* use head_ref as ref

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Peter Jokumsen <[email protected]>
  • Loading branch information
github-actions[bot] and peterjokumsen authored Dec 2, 2022
1 parent 0ec51ad commit 56713d7
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-action-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Save PR number
run: |
mkdir -p ./pr
echo '{ "pr": "${{ github.event.number }}", "ref": "${{ github.ref_name }}" }' > ./pr/NR
echo '{ "pr": "${{ github.event.number }}", "ref": "${{ github.head_ref }}" }' > ./pr/NR
- uses: actions/upload-artifact@v3
with:
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## [2.0.0](https://github.com/chill-viking/dotnet-sonar-scanner/compare/v1.0.0...v2.0.0) (2022-12-02)


### ⚠ BREAKING CHANGES

* **action:** change token inputs

### Features

* **action:** add `checkout` input for action ([d991b92](https://github.com/chill-viking/dotnet-sonar-scanner/commit/d991b925f00fa7a31cbb267a51e4f1c3c86c2ef9))
* **workflow:** add workflow to test action is functioning ([88052a4](https://github.com/chill-viking/dotnet-sonar-scanner/commit/88052a44b13ce5c03c86a712aa312b4162557a74))


### Bug Fixes

* **action:** use correct input properties in action ([a7fc8fc](https://github.com/chill-viking/dotnet-sonar-scanner/commit/a7fc8fc8d697827b58ff077ce0e50591e395c49f))
* **workflow:** pass ref from PR to test workflow ([de709e4](https://github.com/chill-viking/dotnet-sonar-scanner/commit/de709e4450d4a3a0ebf9d89939f012f56a11fb5f))
* **workflow:** update github-script usage ([2f4e55f](https://github.com/chill-viking/dotnet-sonar-scanner/commit/2f4e55f165bbed565c4076f935345cb1feb1d696))
* **workflow:** use json-to-variables ([0ec51ad](https://github.com/chill-viking/dotnet-sonar-scanner/commit/0ec51ad56e0da98c08d434216bf5f39520df0dae))
* **workflow:** use suggested output setter ([c407fca](https://github.com/chill-viking/dotnet-sonar-scanner/commit/c407fca8f62ac5455a56f9453f6dcf3b052a00e8))


### Code Refactoring

* **action:** change token inputs ([89350b7](https://github.com/chill-viking/dotnet-sonar-scanner/commit/89350b7436afb9e4c905ff64f6be0a3923dad588))

## 1.0.0 (2022-11-29)


Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# dotnet-sonar-scanner

[![HitCount](https://hits.dwyl.com/chill-viking/dotnet-sonar-scanner.svg?style=flat-square)](http://hits.dwyl.com/chill-viking/dotnet-sonar-scanner)
<!-- TODO: add other status badges once workflows sorted out -->
<hr/>

Expand Down Expand Up @@ -103,3 +102,8 @@ You can review an example repo using this kind of workflow [here](https://github
| `dotnet-version` | No | .NET SDK version to be used<br/>**default:** `6.0.x` |
| `project-version` | No | Version of project being scanned, will be set in analysis<br/>**default:** `''` |
| `checkout` | No | Flag to inform action whether it should check out repo or not<br/>**default:** `true` |

<hr/>

Total views: [![HitCount](https://hits.dwyl.com/chill-viking/dotnet-sonar-scanner.svg?style=flat-square)](http://hits.dwyl.com/chill-viking/dotnet-sonar-scanner)

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "dotnet-sonar-scanner",
"version": "1.0.0"
"version": "2.0.0"
}

0 comments on commit 56713d7

Please sign in to comment.