Skip to content

Reorder permissions block to follow GitHub Actions conventions#117

Merged
marten-seemann merged 2 commits intoci-workflow-permissionsfrom
copilot/sub-pr-115
Dec 19, 2025
Merged

Reorder permissions block to follow GitHub Actions conventions#117
marten-seemann merged 2 commits intoci-workflow-permissionsfrom
copilot/sub-pr-115

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 19, 2025

Addresses feedback on #115 to reorder the permissions block in the deploy workflow to follow GitHub Actions standard ordering conventions.

Changes

  • Moved permissions block to appear after on trigger block in .github/workflows/deploy.yml
  • File now follows conventional ordering: nameonpermissionsjobs
name: Deploy
on:
  push:
    branches:
      - master
  pull_request:
permissions:
  contents: write

This improves consistency and readability without changing functionality.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: marten-seemann <1478487+marten-seemann@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback on deploy workflow permissions Reorder permissions block to follow GitHub Actions conventions Dec 19, 2025
Copilot AI requested a review from marten-seemann December 19, 2025 03:38
Copy link
Copy Markdown
Member

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

wow, what a mindblowing change

@marten-seemann marten-seemann marked this pull request as ready for review December 19, 2025 03:53
@marten-seemann marten-seemann merged commit 3cc5601 into ci-workflow-permissions Dec 19, 2025
1 check passed
marten-seemann added a commit that referenced this pull request Dec 19, 2025
* ci: add permissions to deploy workflow

* Reorder permissions block to follow GitHub Actions conventions (#117)

* Initial plan

* Reorder permissions block to follow GitHub Actions best practices

Co-authored-by: marten-seemann <1478487+marten-seemann@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: marten-seemann <1478487+marten-seemann@users.noreply.github.com>

* Update .github/workflows/deploy.yml

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: marten-seemann <1478487+marten-seemann@users.noreply.github.com>
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