Skip to content

Conversation

@rbergen
Copy link
Contributor

@rbergen rbergen commented Sep 9, 2025

Adds permission blocks to GitHub Action workflow files.

rbergen and others added 2 commits September 9, 2025 21:48
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@rbergen rbergen changed the title Potential fix for code scanning alert no. 1: Workflow does not contain permissions Fix for code scanning alerts: Workflow does not contain permissions Sep 9, 2025
@rbergen rbergen marked this pull request as ready for review September 9, 2025 19:56
@rbergen rbergen requested a review from Copilot September 9, 2025 19:56
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses code scanning alerts by adding explicit permissions blocks to GitHub Actions workflow files to improve security posture and follow best practices for workflow configuration.

  • Adds job-level permissions to the GitHub Pages deployment workflow
  • Adds workflow-level permissions to the Azure Static Web Apps workflow

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/github-pages.yml Added job-level contents: write permission for GitHub Pages deployment
.github/workflows/azure-static-web-apps-agreeable-mud-0b27ba210.yml Added workflow-level permissions for content reading and pull request writing

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

github-actions bot commented Sep 9, 2025

Azure Static Web Apps: Your stage site is ready! Visit it here: https://agreeable-mud-0b27ba210-77.centralus.azurestaticapps.net

@rbergen rbergen merged commit 1d4f1f5 into main Sep 9, 2025
6 checks passed
@rbergen rbergen deleted the alert-autofixes branch September 9, 2025 20:02
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.

2 participants