Skip to content

upgraded to net 10#1027

Merged
StuartFerguson merged 2 commits intomasterfrom
task/#1018_net_10_upgrade
Dec 8, 2025
Merged

upgraded to net 10#1027
StuartFerguson merged 2 commits intomasterfrom
task/#1018_net_10_upgrade

Conversation

@StuartFerguson
Copy link
Member

@StuartFerguson StuartFerguson commented Dec 8, 2025

closes #1018
closes #1021
closes #1026

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}

Copilot Autofix

AI 2 months ago

To fix this vulnerability, you should add the permissions key at the root of your workflow (.github/workflows/createrelease.yml). This will apply the permissions to all jobs unless overwritten at job level. You should explicitly define only the subset of permissions required for the job steps. Most jobs in this workflow only require read access to repository contents for fetching code, and potentially upload/download-artifact permissions; they do not need broad write access. The minimal safe configuration is:

permissions:
  contents: read

If specific jobs require more (for example, writing to pull requests, etc.), you can override or add those permissions at the job level. For artifact upload/download, only contents: read and the default artifact permission (which is always permitted) are needed. Add the following block after the workflow name and before on: at the top of the file.


Suggested changeset 1
.github/workflows/createrelease.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/createrelease.yml b/.github/workflows/createrelease.yml
--- a/.github/workflows/createrelease.yml
+++ b/.github/workflows/createrelease.yml
@@ -1,4 +1,6 @@
 name: Release
+permissions:
+  contents: read
 
 on:
   release:
EOF
@@ -1,4 +1,6 @@
name: Release
permissions:
contents: read

on:
release:
Copilot is powered by AI and may make mistakes. Always verify output.
@StuartFerguson StuartFerguson merged commit 7c81588 into master Dec 8, 2025
10 checks passed
@github-actions github-actions bot deleted the task/#1018_net_10_upgrade branch February 7, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Shared Nugets Move to Windows Release Workflow Net 10 Upgrade

1 participant