Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ runs:
dotnet-version: '8.0.x'

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.11
uses: gittools/actions/gitversion/setup@v4.0.0
with:
versionSpec: '6.0.x'
versionSpec: '6.3.x'

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v3.1.11
uses: gittools/actions/gitversion/execute@v4.0.0
with:
useConfigFile: true
configFilePath: GitVersion.yml

- name: Setup assets cache
id: assetscache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: output/RequiredModules
key: ${{ hashFiles('RequiredModules.psd1') }}
Expand Down
1 change: 0 additions & 1 deletion .github/actions/code-coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ runs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Download Test Artifact Linux
Expand Down
1 change: 0 additions & 1 deletion .github/actions/run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ runs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Download Build Artifact
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: 'Build and Package Module'
Expand All @@ -46,7 +45,6 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: 'Test on Linux'
uses: ./.github/actions/run-tests
Expand All @@ -60,7 +58,6 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: 'Test on Windows'
uses: ./.github/actions/run-tests
Expand All @@ -77,7 +74,6 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: 'Publish Code Coverage'
uses: ./.github/actions/code-coverage
Expand All @@ -88,12 +84,15 @@ jobs:
needs:
- build
- test-linux
- test-win
- code-coverage
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Download Build Artifact
Expand All @@ -111,6 +110,6 @@ jobs:

- name: Send Changelog PR
shell: pwsh
run: Get-Module -Name PowerShellForGitHub -ListAvailable ;./build.ps1 -tasks Create_ChangeLog_GitHub_PR
run: ./build.ps1 -tasks Create_ChangeLog_GitHub_PR
env:
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Added
- Added automation for generating the changelog and release notes
- Added Token parameter to Search-AzResourceGraph function to allow specifying a token for authentication

### Changed
Expand Down
11 changes: 6 additions & 5 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ TaskHeader: |
Write-Build DarkGray " $($Task.InvocationInfo.ScriptName):$($Task.InvocationInfo.ScriptLineNumber)"
""






GitHubConfig:
GitHubFilesToAdd:
- 'CHANGELOG.md'
GitHubConfigUserName: SimonWahlin
GitHubConfigUserEmail: 5576847+SimonWahlin@users.noreply.github.com
UpdateChangelogOnPrerelease: false
Loading