Skip to content

net 10 upgrade completed#369

Merged
StuartFerguson merged 2 commits intomainfrom
task/#366_net_10_upgrade
Dec 11, 2025
Merged

net 10 upgrade completed#369
StuartFerguson merged 2 commits intomainfrom
task/#366_net_10_upgrade

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

closes #366
closes #367
closes #368

Comment thread .github/workflows/createrelease.yml Outdated

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 5 months ago

To fix the problem, you should add the permissions block to the root of the workflow YAML file so that it applies to all jobs which do not have their own job-level permissions. In this case, none of the jobs appear to perform modifications to the repository or require write access except for uploading and downloading artifacts (which use their own APIs and do not require repo write access). Therefore, the minimal permissions required are likely contents: read. You should insert the permissions block immediately below the workflow name at the top of the file. No code outside the workflow YAML needs to change. No new methods, imports, or definitions are necessary.


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 fb6ac06 into main Dec 11, 2025
12 checks passed
@github-actions github-actions Bot deleted the task/#366_net_10_upgrade branch February 10, 2026 01:13
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

2 participants