Skip to content

net 10 upgraded#256

Merged
StuartFerguson merged 1 commit intomasterfrom
task/#252_net_10_upgrade
Dec 11, 2025
Merged

net 10 upgraded#256
StuartFerguson merged 1 commit intomasterfrom
task/#252_net_10_upgrade

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

closes #252
closes #253
closes #251
closes #255

Comment thread .github/workflows/createrelease.yml Outdated
Comment on lines 86 to 116

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 this problem, add an explicit permissions: block to the workflow, ideally at the root level. This applies to all jobs unless per-job overrides are needed. Review the workflow steps to select the minimal permissions required: the workflow only needs access to release contents (for artifact upload/download), so contents: read and possibly contents: write may be required (for release asset uploads), but since none of the jobs appear to use pull requests or issues, those permissions can be omitted. Set the following at the root, just after the workflow name: (e.g. after line 1):

permissions:
  contents: write

This change should be made in the .github/workflows/createrelease.yml file, after the name: Release line and before on:. No additional imports or definitions are required.


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: write
 
 on:
   release:
EOF
@@ -1,4 +1,6 @@
name: Release
permissions:
contents: write

on:
release:
Copilot is powered by AI and may make mistakes. Always verify output.
@StuartFerguson StuartFerguson merged commit c08ffb9 into master Dec 11, 2025
8 of 9 checks passed
@github-actions github-actions Bot deleted the task/#252_net_10_upgrade branch February 10, 2026 03:14
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.

Retire Scheduler Service Move to Windows Release Workflow Net 10 Upgrade Update Shared Nugets

2 participants