Skip to content

oppdaterer action versjoner til de nyeste#57

Merged
bvst merged 2 commits intomainfrom
fix/update-action-versions
Mar 24, 2026
Merged

oppdaterer action versjoner til de nyeste#57
bvst merged 2 commits intomainfrom
fix/update-action-versions

Conversation

@bvst
Copy link
Copy Markdown
Contributor

@bvst bvst commented Mar 24, 2026

resolves #51

Copilot AI review requested due to automatic review settings March 24, 2026 06:43

- name: Set version and tag variables
env:
INPUT_VERSION: ${{ github.event.inputs.version }}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Det er anbefalt å bruke env i steden for å bruke kommandoer direkte i actions. Dette er for å unngå shell injections:

https://securitylab.github.com/resources/github-actions-untrusted-input/#remediation

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates GitHub Actions workflows used for CI, documentation deployment, and NuGet release automation for the Fhi.* packages.

Changes:

  • Bumps several GitHub Action versions and enables caching for actions/setup-dotnet.
  • Adds explicit permissions blocks to workflows and introduces CI concurrency configuration.
  • Refactors release workflows’ version/tag env handling and fixes the prerelease expression syntax.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
.github/workflows/Fhi.Authorization.Extensions_Release.yml Updates release workflow actions/permissions, .NET caching, version/tag handling.
.github/workflows/Fhi.Authentication.JwtDPoP_Release.yml Updates release workflow actions/permissions, .NET caching, version/tag handling.
.github/workflows/Fhi.Authentication.Extensions_Release.yml Updates release workflow actions/permissions, .NET caching, version/tag handling.
.github/workflows/Documentation.yml Updates actions and adds permissions for GitHub Pages deployment.
.github/workflows/CI.yml Updates actions, adds permissions/concurrency, and changes CI trigger behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/CI.yml
Comment thread .github/workflows/Fhi.Authorization.Extensions_Release.yml
Comment thread .github/workflows/Fhi.Authorization.Extensions_Release.yml
Comment thread .github/workflows/Fhi.Authentication.JwtDPoP_Release.yml
Comment thread .github/workflows/Fhi.Authentication.Extensions_Release.yml
Comment thread .github/workflows/Fhi.Authentication.JwtDPoP_Release.yml
Comment thread .github/workflows/Fhi.Authentication.Extensions_Release.yml
@bvst bvst self-assigned this Mar 24, 2026
Copy link
Copy Markdown
Contributor

@leknesh leknesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Se over Copilot-kommentarene angående indentation, den hevder ugyldig YAML, vet ikke om det stemmer?

Hvis OK: LGTM, bra å tette sikkerhetshullet her

@bvst bvst merged commit 0f1dfe7 into main Mar 24, 2026
1 check passed
@bvst bvst deleted the fix/update-action-versions branch March 24, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix outdated github actions

3 participants