Skip to content

Add permission for workflow#178

Merged
a5chin merged 1 commit intodevelopfrom
fix/permission
Feb 18, 2026
Merged

Add permission for workflow#178
a5chin merged 1 commit intodevelopfrom
fix/permission

Conversation

@a5chin
Copy link
Owner

@a5chin a5chin commented Feb 16, 2026

User description

Type of Change

  • Hotfix
  • Bug Fix
  • Dependency Update
  • Feature
  • Refactor
  • CI/CD
  • Documentation

Related Issues

Breaking Changes

  • No breaking changes
  • API signature changed
  • Configuration changed
  • Behavior changed
  • Dependencies changed
  • Features removed

Checklist

  • Dependencies added/updated
  • New environment variables
  • Performance impact assessed
  • Security implications reviewed
  • Deployment notes

Additional Context


PR Type

Enhancement, CI/CD


Description

  • Configures GitHub environments and deployment policies.

  • Sets default GitHub Actions workflow permissions.

  • Refactors and reorders CI/CD jobs.


Diagram Walkthrough

flowchart LR
    A[setting.yml] --> B(Configure GitHub Environments)
    A --> C(Set Workflow Permissions)
    A --> D(Apply Branch Protection Rules)
    A --> E(Manage Branch & Pages)

    B -- "Job: environments" --> F[Update .github/environments.json]
    C -- "Job: permission" --> G[Set default_workflow_permissions]
    D -- "Job: protection" --> H[Apply .github/protection.json]
Loading

File Walkthrough

Relevant files
Enhancement
setting.yml
Refactor CI/CD jobs, add environment and permission configurations

.github/workflows/setting.yml

  • Renamed the delete-branch job to branch.
  • Added a new environments job to configure GitHub environments and
    deployment branch policies using environments.json.
  • Renamed the protection job to permission and updated it to set default
    GitHub Actions workflow permissions.
  • Moved the original branch protection logic into a new protection job,
    applying rules from protection.json.
  • Reordered the execution sequence of the CI/CD jobs.
+72/-52 

@github-actions github-actions bot added the fix label Feb 16, 2026
@a5chin a5chin merged commit dc6862e into develop Feb 18, 2026
13 checks passed
@a5chin a5chin deleted the fix/permission branch February 18, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant