Skip to content

ci: Modernize#165

Open
GGG-KILLER wants to merge 2 commits intomainfrom
feat/short-lived-tokens
Open

ci: Modernize#165
GGG-KILLER wants to merge 2 commits intomainfrom
feat/short-lived-tokens

Conversation

@GGG-KILLER
Copy link
Member

Modernizes the publishing flow to use Short Lived Tokens using NuGet.org Trusted Publishing. This should free us from having to generate new API keys every so often.

Also adds dependabot dependency updates to ensure that we don't have any outdated or vulnerable dependencies either on the .NET library or in the actions used in our GHA workflows.

Also update the workflow dependencies and add .NET 10 to the installation list.

[nightly ignore]
-p:Version=${{ needs.extract-nightly-info.outputs.no-prefix-version }}
shell: bash
- name: Get a short-lived NuGet API key
uses: NuGet/login@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Nightly Release' step
Uses Step: nuget-login
uses 'NuGet/login' with ref 'v1', not a pinned commit hash
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2.5.0

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Nightly Release' step
Uses Step
uses 'softprops/action-gh-release' with ref 'v2.5.0', not a pinned commit hash
--include-symbols
shell: bash
- name: Get a short-lived NuGet API key
uses: NuGet/login@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Stable Release' step
Uses Step: nuget-login
uses 'NuGet/login' with ref 'v1', not a pinned commit hash
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2.5.0

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Stable Release' step
Uses Step
uses 'softprops/action-gh-release' with ref 'v2.5.0', not a pinned commit hash
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.

1 participant