mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-18 05:45:42 -07:00
This pull request updates GitHub Actions workflow files to explicitly set permissions for certain actions. (fixing the permissions issues) **Workflow permissions updates:** * Added explicit `issues: write` permission to the `assign.yml` workflow to ensure it can modify issues as needed. * Set `contents: write`, `actions: write`, and `checks: write` permissions in the `build_all.yml` workflow to allow the workflow to interact with repository contents, manage actions, and update checks.
27 lines
586 B
YAML
27 lines
586 B
YAML
name: Assign Issue
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 0 0 * * *
|
|
issue_comment:
|
|
types: [created]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
jobs:
|
|
assign:
|
|
permissions:
|
|
issues: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Assign the user or unassign stale assignments
|
|
uses: takanome-dev/assign-issue-action@v2.3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
maintainers: 'noisyfox,softfever'
|
|
days_until_unassign: 30
|
|
block_assignment: false
|
|
reminder_days: 7
|
|
max_assignments: 12
|