Version exchange and logging#1361
Merged
j-chmielewski merged 105 commits intorelease/1.5-alphafrom Aug 22, 2025
Merged
Conversation
Comment on lines
+30
to
+37
| needs: build-current | ||
| if: ${{ github.event_name != 'pull_request' && github.ref_name == 'dev' }} | ||
| uses: ./.github/workflows/dev-deployment.yml | ||
| secrets: inherit | ||
|
|
||
| trigger-staging-deploy: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 8 months ago
To fix the problem, add a permissions block at the top level of the workflow file (just after the name or on block), which will apply to all jobs unless they override it. The minimal safe default is contents: read, which grants read-only access to repository contents. If any job requires additional permissions, those can be added at the job level, but from the provided snippet, there is no evidence that more than read access is needed. The change should be made by inserting the following block after the name line:
permissions:
contents: readNo additional methods, imports, or definitions are needed.
Suggested changeset
1
.github/workflows/current.yml
| @@ -1,2 +1,4 @@ | ||
| name: Build current image | ||
| permissions: | ||
| contents: read | ||
| on: |
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
wojcik91
reviewed
Aug 20, 2025
moubctez
approved these changes
Aug 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
defguard_version crate: